2 条题解

  • 0
    @ 2025-4-24 17:53:39
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
        int a=65;
        char b=(char)a;
        for(int i=1;i<=26;i++){
            cout<<b<<" ";
            a++;
            b=a;
        }
        return 0;
    }
    
    • 0
      @ 2024-12-24 10:06:18

      C :

      #include<stdio.h>
      int main()
      {
      	printf("A B C D E F G H I J K L M N O P Q R S T U V W X Y Z");
      	
      	
      }
      

      C++ :

      #include<iostream>
      #include<cstdio>
      using namespace std;
      int main()
      {
        char zimu='@';
        for(int i=1;i<=25;++i)
        {
        zimu+=1;
        cout<<zimu<<" ";
        }
        cout<<"Z";
        return 0;
      }
      
      
      • 1

      信息

      ID
      2620
      时间
      1000ms
      内存
      128MiB
      难度
      10
      标签
      递交数
      2
      已通过
      1
      上传者