177 条题解

  • -2
    @ 2023-8-5 17:09:45

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

    • -2
      @ 2023-8-3 20:21:29
      
      
      • -2
        @ 2023-8-1 18:34:40
        **我是正经的了吧👀️**
        #include <iostream> 
        using namespace std;
        int main()
        {
            int a , b;  //定义变量
            cin >> a >> b;  //输入
            cout << a + b;  //终极加法
            return 0;
        }
        
        • -2
          @ 2023-8-1 12:48:31
          #include<iostream>
          using namespace std;
          int main()
          {
          	int a,b;//定义a b变量
          	cin>>a>>b;//输入a b变量
          	cout << a + b;//输出a+b的和
          	return 0;
          }a
          
          • -2
            @ 2023-7-31 18:46:16
            using namespace std;
            int main()
            {
            int a,b;
            cin >> a >> b;
            cout << a + b;
            }
            

            我是最正经的一个了吧

            • -2
              @ 2023-7-31 12:50:24
              #include <iostream>
              using namespace std;
              
              int main() 
              {
                  int a, b;
                  cin >> a >> b;
                  int sum = a + b;
                  cout << sum ;
                  return 0;
              }
              
            • -2
              @ 2023-7-30 17:46:17
              #include <assert.h>
              #include <ctype.h>
              #include <errno.h>
              #include <float.h>
              #include <stdlib.h>
              #include <string.h>
              #include <bitset>
              #include <cctype>
              #include <cerrno>
              #include <clocale>
              #include <cmath>
              #include <complex>
              #include <cstdio>
              #include <cstdlib>
              #include <cstring>
              #include <ctime>
              #include <deque>
              #include <exception>
              #include <fstream>
              #include <functional>
              #include <limits>
              #include <list>
              #include <map>
              #include <iomanip>
              #include <ios>
              #include <iostream>
              #include <istream>
              #include <ostream>
              #include <queue>
              #include <sstream>
              #include <stack>
              #include <stdexcept>
              #include <streambuf>
              #include <string>
              #include <utility>
              #include <vector>
              #include <cwchar>
              #include <cwctype>
              #include <complex.h>
              #include <fenv.h>
              #include <inttypes.h>
              #include <stdbool.h>
              #include <stdint.h>
              #include <tgmath.h>
              using namespace std;
              int main(){
                  int n, m;
                  cin >> n >> m;
                  cout << n + m;
              }
              
              • -2
                @ 2023-7-30 17:05:53
                #include <iostream>
                using namespace std;
                int main()
                {
                	int n, m; 
                    cin >> n >> m;
                    cout << n + m;
                    return 0;
                }
                
                • -2
                  @ 2023-7-18 21:36:54

                  学习

                  • -2
                    @ 2023-7-17 17:35:35
                    #include<iostream>
                    using namespace std;
                    int main()
                    {
                    	int a,b;//定义a b变量
                    	cin>>a>>b;//输入
                    	cout << a + b;//输出a+b的和
                    	return 0;
                    }a
                    
                    • -2
                      @ 2023-7-13 15:29:39

                      #include<bits/stdc++.h> using namespace std; int main() { int a, b; cin >> a >> b; cout << a + b; return 0; } //(个人认为还是#include<bits/stdc++.h>比#include<iostream>好用一些)这道题也是Very simple,只需要定义两个数,再将两个数相加就OK了

                      • -2
                        @ 2023-5-4 17:30:30

                        #include <iostream> using namespace std; int main(){ int n,m; cin>>n>>m; cout <<n+m; return 0; }

                        • -2
                          @ 2023-4-27 11:16:26
                          #include <bits/stdc++.h>
                          using namespace std;
                          int main()
                          {
                              int l = 1, r = 10000, a, b;
                              cin >> a >> b;
                              while (l <= r)
                              {
                                  int mid = (l + r) / 2;
                                  if (a + b > mid)
                                  {
                                      l = mid + 1;
                                  }
                                  else if (a + b < mid)
                                  {
                                      r = mid - 1;
                                  }
                                  else
                                  {
                                      cout << mid;
                                      break;
                                  }
                              }
                              return 0;
                          }
                          

                          入门版而已————

                        • -2
                          @ 2023-3-4 12:22:21
                          #include <bits/stdc++.h>
                          using namespace std;
                          int main()
                          {
                              int a, b;
                              cin >> a >> b;
                              cout << a + b;
                              return 0;
                          }
                          
                          • -2
                            @ 2023-3-1 19:33:56
                            #include<bits/stdc++.h>
                            using namespace std;
                            int main()
                            {
                            	int a,b;
                            	cin >> a >> b;
                            	cout << a+b;
                            	return 0;
                            }
                            
                            
                            • -2
                              @ 2023-2-25 18:31:41
                              #include <bits/stdc++.h>
                              using namespace std;
                              struct Plus
                              {
                                  int a,b;//定义一个结构体
                              };
                              stack<int> sta;//定义一个栈
                              int main()
                              {
                                  Plus c;//结构体变量
                                  cin >> c.a >> c.b;
                                  sta.push(c.a);//入栈
                                  sta.push(c.b);
                                  int s;
                                  s += sta.top();//输出栈顶元素
                                  sta.pop();//出栈
                                  s += sta.top();
                                  cout << s;//输出总和
                                  return 0;
                              }
                              
                              • -2
                                @ 2023-2-25 18:30:35

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

                                • -2
                                  @ 2023-2-19 17:51:57
                                  #include<iostream>
                                  using namespace std;
                                  int main()
                                  {
                                  int a,b;
                                  cin>>a>>b;
                                  cout<<a+b;
                                  }
                                  
                                  • -2
                                    @ 2023-2-19 17:03:30
                                    #include <iostream>
                                    using namespace std;
                                    int main()
                                    {
                                        int a;
                                        cin >>a;
                                        if(a>=86)
                                        {
                                            cout<<"VERY GOOD";
                                        }
                                        if(a<=85)
                                        {
                                        if(a>=60)
                                        {
                                            cout<<"GOOD";
                                        }
                                        }
                                        if(a<60)
                                        {
                                            cout<<"BAD";
                                        }
                                        return 0;
                                    }
                                    
                                    • -2
                                      @ 2023-2-11 16:31:08

                                      哈哈哈

                                      【入门】熟悉一下Online Judge的环境

                                      信息

                                      ID
                                      1
                                      时间
                                      1000ms
                                      内存
                                      16MiB
                                      难度
                                      6
                                      标签
                                      递交数
                                      26219
                                      已通过
                                      8163
                                      上传者