zoukankan      html  css  js  c++  java
  • 朝发白帝城

    代码
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    namespace ConsoleApplication1
    {
        
    class Program
        {
            
    private static string s = "朝辞白帝彩云间,千里江陵一日还。两岸猿声啼不住,轻舟已过万重山。";
            
            
    static void Main(string[] args)
            {
                
    //朝辞白帝彩云间,千里江陵一日还。 两岸猿声啼不住,轻舟已过万重山。
                
                
                

                
    for (int i = 0; i < 8; i++)
                {
                    
    for (int j = 0; j < 4; j++)
                    {
                        Console.Write(s[i
    +24-8*j]);
                        
                    }
                    Console.WriteLine();
                }
                Console.WriteLine(
    "--------------------------");


                
    for (int n = 0; n < 8; n++)
                {
                    System.Console.Write(
    "{0}{1}{2}{3}", s[24 + n], s[16 + n], s[8 + n], s[0 + n]);
                    System.Console.WriteLine();
                }


                         
                
            }
        }
    }
  • 相关阅读:
    《C# to IL》第一章 IL入门
    multiple users to one ec2 instance setup
    Route53 health check与 Cloudwatch alarm 没法绑定
    rsync aws ec2 pem
    通过jvm 查看死锁
    wait, notify 使用清晰讲解
    for aws associate exam
    docker 容器不能联网
    本地运行aws lambda credential 配置 (missing credential config error)
    Cannot connect to the Docker daemon. Is 'docker daemon' running on this host?
  • 原文地址:https://www.cnblogs.com/muyoushui/p/1675314.html
Copyright © 2011-2022 走看看