今天吗,我来给大家讲一道题目。
哪题呀?
自己看标题不会呀!
啊?
p1001!
链接能发下吗?
i,你啥意思呀,https://www.luogu.com.cn/problem/P1001,点进去就可以了。
502!
额确实502了,你等会吧。
好了,现在好了。
怎么做呀!
没事呀,我来给你讲。
你礼貌吗?
我很礼貌。
来吧,代码就给你!
#include<bits/stdc++h>
using namesapce std;
int mian(){
int a, b;
cin >> a >> b;
cout << a + b;
return 0;
}
ok,thx!
你这,交上去 Compile Error,你给我改!
ok!
你看看,什么叫 bits/stdc++h!
什么叫namesapce!
ok,我改!
#include<bits/stdc++.h>
using namespace std;
int mian(){
int a, b;
cin >> a >> b;
cout << a + b;
return 0;
}
不过还是会 Compile Error 呀?
我怎么不信,来,我提交下!
啊,啊,啊,啊。
奶奶的,还真是,你快给我改!
改!
#include<bits/stdc++.h>
using namespace std;
int main(){
int a, b;
cin >> a >> b;
cout << a + b;
return 0;
}
看到那个mian了吗?
ok,thx!