小明的题解

· · 个人记录

题目名1

错误原因

xxxxxxx

正确思路

xxxx

修改后的代码

xxxx

T2简单的加法

错误原因

main单词写错了

正确思路

1.首先我们要创建两个int变量 2.题目要求输入,所以我们要分别对a和b输入数值 3.用cout完成输出

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

修改后的代码

xxxx