27 条题解

  • 1
    @ 2024-3-1 17:21:33

    #include using namespace std; int main(){ int a,b,c; cin>>a>>b; c=a+b; cout<<c; return 0; }

    • 1
      @ 2024-3-1 17:20:31

      #include using namespace std; int main(){ int a,b,c; cin>>a>>b; c=a+b; cout<<c; return 0; }

      • 1
        @ 2024-2-25 21:48:58

        题目说明 本题主要考察c++的基本结构和输入、输出用法,与故宫有多大相似。 引用头文件

        #include<iostream>
        

        AC CODE方法1:

        #include<iostream>//头文件
        using namespace std;
        int main(){
        	int a,b,c;//定义32位整型 a,b,c
        	cin>>a>>b;//格式化输入
        	c=a+b;//运算赋值
        	cout<<c;//输出变量
        	return 0;//养成好习惯,main函数最后不要忘记跟 return 0!
        }
        

        方法2:

        #include <iostream>//头文件
        using namespace std;
        int main(){
        	int a,b;//定义32位整型 a,b
            cin>>a>>b;//格式化输入
            cout<<a+b;//输出a+b的值
        	return 0;//养成好习惯,main函数最后不要忘记跟 return 0!
        }
        ```​
        • 1
          @ 2024-2-19 10:23:44
          #include<iostream>
          using namespace std;
          int main(){
          int a,b,c;
          cin >> a >> b >> c;
          c=a+b;
          cout <<  c;
          }
          
          • 0
            @ 2024-10-30 17:31:29

            yjsp123.com

            • 0
              @ 2024-3-17 9:15:53
              #include<iostream>
              using namespace std;
              int main(){
                  int,a,b,c;
                  cin>>a>>b;
                  c=a+b;
                  cout<<c; 
              
              	return 0; 
              }
              
              • 0
                @ 2024-3-3 11:46:46

                #include using namespace std; int main(){ int a,b,c; cin>>a>>b; c=a+b; cout<<c; return 0; }

                • 0
                  @ 2024-2-19 17:38:32
                  #include<iostream>
                  using namespace std;
                  int main(){
                  int a,b,c;
                  cin >> a >> b >> c;
                  c=a+b;
                  cout <<  c;
                  }
                  
                  • 0
                    @ 2024-2-19 10:32:10
                    #include<iostream>
                    using namespace std;
                    int main(){
                        int,a,b,c;
                        cin>>a>>b;
                        c=a+b;
                        cout<<c; 
                    
                    	return 0; 
                    }
                    
                    • 0
                      @ 2024-2-19 10:24:06
                      #include<iostream>
                      using namespace std;
                      int main(){
                      int a,b,c;
                      cin >> a >> b >> c;
                      c=a+b;
                      cout <<  c;
                      }
                      
                      • 0
                        @ 2024-2-19 10:24:06
                        #include<iostream>
                        using namespace std;
                        int main(){
                        int a,b,c;
                        cin >> a >> b >> c;
                        c=a+b;
                        cout <<  c;
                        }
                        
                        • 0
                          @ 2024-2-19 10:24:06
                          #include<iostream>
                          using namespace std;
                          int main(){
                          int a,b,c;
                          cin >> a >> b >> c;
                          c=a+b;
                          cout <<  c;
                          }
                          
                          • 0
                            @ 2024-2-19 10:24:06
                            #include<iostream>
                            using namespace std;
                            int main(){
                            int a,b,c;
                            cin >> a >> b >> c;
                            c=a+b;
                            cout <<  c;
                            }
                            
                            • 0
                              @ 2024-2-19 10:24:06
                              #include<iostream>
                              using namespace std;
                              int main(){
                              int a,b,c;
                              cin >> a >> b >> c;
                              c=a+b;
                              cout <<  c;
                              }
                              
                              • 0
                                @ 2024-2-19 10:24:06
                                #include<iostream>
                                using namespace std;
                                int main(){
                                int a,b,c;
                                cin >> a >> b >> c;
                                c=a+b;
                                cout <<  c;
                                }
                                
                                • 0
                                  @ 2024-2-19 10:24:06
                                  #include<iostream>
                                  using namespace std;
                                  int main(){
                                  int a,b,c;
                                  cin >> a >> b >> c;
                                  c=a+b;
                                  cout <<  c;
                                  }
                                  
                                  • 0
                                    @ 2024-2-19 10:24:06
                                    #include<iostream>
                                    using namespace std;
                                    int main(){
                                    int a,b,c;
                                    cin >> a >> b >> c;
                                    c=a+b;
                                    cout <<  c;
                                    }
                                    
                                    • 0
                                      @ 2024-2-19 10:23:59
                                      #include<iostream>
                                      using namespace std;
                                      int main(){
                                      int a,b,c;
                                      cin >> a >> b >> c;
                                      c=a+b;
                                      cout <<  c;
                                      }
                                      
                                      • 0
                                        @ 2024-2-19 10:23:58
                                        #include<iostream>
                                        using namespace std;
                                        int main(){
                                        int a,b,c;
                                        cin >> a >> b >> c;
                                        c=a+b;
                                        cout <<  c;
                                        }
                                        
                                        • 0
                                          @ 2024-2-19 10:23:58
                                          #include<iostream>
                                          using namespace std;
                                          int main(){
                                          int a,b,c;
                                          cin >> a >> b >> c;
                                          c=a+b;
                                          cout <<  c;
                                          }
                                          

                                          信息

                                          ID
                                          57
                                          时间
                                          1000ms
                                          内存
                                          128MiB
                                          难度
                                          6
                                          标签
                                          (无)
                                          递交数
                                          1538
                                          已通过
                                          476
                                          上传者