1 条题解

  • 0
    @ 2021-6-14 23:25:09

    C :

    #include <stdio.h>
    int main()
    {
            printf("12\n9709\n96\n109\n108\n");
            return 0;
    }
    
    

    C++ :

    #include <iostream>
    using namespace std;
    int main()
    {cout<<"12"<<endl;
     cout<<"9709"<<endl;
     cout<<"96"<<endl;
     cout<<"109"<<endl;
     cout<<"108";
     return 0;
    }
    

    Pascal :

    begin
      writeln(12);
      writeln(9709);
      writeln(96);
      writeln(109);
      writeln(108);
    end.
    

    Java :

    public class Main {
    	public static void main(String[] args) {
    		System.out.println(12);
    		System.out.println(9709);
    		System.out.println(96);
    		System.out.println(109);
    		System.out.println(108);
    	}
    }
    

    Python :

    # coding=utf-8
    def main():
        print('12')
        print('9709')
        print('96')
        print('109')
        print('108')
    
    if __name__ == '__main__':
        main()
    
    • 1

    信息

    ID
    165
    时间
    1000ms
    内存
    125MiB
    难度
    10
    标签
    递交数
    4
    已通过
    1
    上传者