2 条题解

  • 0
    @ 2024-5-12 17:50:32

    这题就是我一个学python的人都能用c++写出来!

    这题太简单了 我就直接写代码了吧

    #include <iostream> // 头文件
    using namespace std;
    int main()
    {
        cout<<1+1<<endl; // 输出1+1并换行
        return 0; // 一定要返回0,否则会Runtime Error
    }
    

    用回python再写一遍!

    print(1 + 1) # 直接输出1+1
    
    • 0
      @ 2024-4-20 15:19:19
      #include<bits/stdc++.h>
      using namespace std;
      int main(){
          cout<<1+1;
          return 0;
      }
      

      开玩笑,不发题解对不起这么简单的题

      • 1

      信息

      ID
      527
      时间
      1000ms
      内存
      256MiB
      难度
      5
      标签
      (无)
      递交数
      102
      已通过
      42
      上传者