11 条题解

  • 1
    @ 2024-5-6 22:27:32

    勿喷

    Code

    #include <cstdio>//头文件
    using namespace std;//对我来说没用的命名空间int a,b;
    int main(){//主函数
        scanf("%d %d", &a, &b);//输入
        printf("%d", a+b);//输出
        return 0;//return0好习惯
    }//end
    2147483648//打码
    
    • 1
      @ 2023-10-14 14:01:37

      不如B1001

      #include <iostream>
      using namespace std;
      int main()
      {
          int a,b;
          cin>>a>>b;
          cout<<a+b<<endl;
          return 0;
      }
      
      • 1
        @ 2022-11-26 10:37:11

        非常简单的一道题,输出a+b的和即可,跟H1001一样

        代码:

        #include<cstdio>//C语言风格输入输出头文件
        int main(){ //主函数
            int a,b;//定义变量a和b
            scanf("%d%d",&a,&b);//输入a和b
            printf("%d",a+b);//输出a+b
            return 0; //返回值(一定要是0!)
        }
        
        • 0
          @ 2024-1-11 13:26:27

          世界上最好的题解😄

          #include<bits/stdc++.h>
          using namespace std;
          int main(){
              long long a,b;
              cin>>a>>b;
              cout<<a+b;
              return 0;
          }
          

          别忘了点赞呦👀️

          • 0
            @ 2023-9-30 16:06:42
            #include<iostream>
            using namespace std;
            int main(){
                int a,b;
                cin>>a>>b;
                cout<<a+b;
                return 0;
            }
            
            • 0
              @ 2023-1-11 18:34:49

              很简单,就A+B而已。

              #include<iostream>
              using namespace std;
              int main(){
              int a,b;
              cin>>a>>b;
              cout<<a+b;
              return 0;
              }
              
              • 0
                @ 2022-12-23 9:02:51
                #include<iostream>
                using namespace std;
                int main()
                {
                	int a,b;
                	cin>>a>>b;
                	cout<<a+b;
                	return 0;
                }
                
                • -1
                  @ 2023-8-22 17:01:38
                  #include<bits/stdc++.h>
                  using namespace std;
                  int main(){
                  	long long a,b;
                  	cin>>a>>b;
                  	cout<<a+b;
                  	return 0;
                  } 
                  
                  • -1
                    @ 2022-12-27 9:49:41
                    #include<iostream>
                    using namespace std;
                    long long q,w,e,r,t,y,u,i,o,p,d,f,g,h,j,k,l,z,x,c,v,b,n,m;
                    string s;
                    long long a[100000],as[100000],asd[100000];
                    int main()
                    {
                    	cin>>m>>n;
                    	cout<<m+n;
                        return 0;
                    }
                    
                    • -2
                      @ 2023-8-31 22:50:01
                      #include<iostream>
                      #include<algorithm>
                      
                      using namespace std;
                      
                      const int MAXN = 68e7;
                      
                      int a,b;
                      
                      int main(){
                          cin >> a >> b;
                          for (int i = 1; i <= MAXN; i++);
                          cout << a + b;
                          return 0;
                      }
                      

                      然后提交上去发现:全是1000ms

                      • -2
                        @ 2023-7-25 19:13:14

                        很简单的一题 #include<bits/stdc++.h> using namespace std; int main() { int a,b; cin>>a>>b; cout<<a+b<<endl; return 0; }

                        • 1

                        信息

                        ID
                        6806
                        时间
                        1000ms
                        内存
                        128MiB
                        难度
                        1
                        标签
                        (无)
                        递交数
                        264
                        已通过
                        155
                        上传者