求助

P1001 A+B Problem

fkcufk @ 2023-03-19 15:43:28


#include<bitsstdc++.h> // 万能头我的最爱
using namespace std;
int main(){
    int a,b;
    cin >> a >> b;
    cout << a+b;
    return 0;
}

by wjy654321 @ 2023-03-26 10:10:05

疑似整活


by KIAIO @ 2023-03-30 09:07:38

<bits/stdc++.h>才对,不熟悉万能头就用<iostream>吧


by xyf778899 @ 2023-04-01 18:35:10

#include<cstdio>
using namespace std;
int main(){
   int a,b;
   scanf("%d%d",&a,&b);
   printf("&d\n",a+b);
   return 0;

用c++


by fengyongrui @ 2023-04-02 11:17:37

真·#include<bitsstdc++.h> 改:

#include<bits/stdc++.h>//#include<iostream>

by manager1905 @ 2023-04-04 21:54:29

#include<bits/stdc++.h> // 万能头我的最爱
using namespace std;
int main(){
    int a,b;
    cin >> a >> b;
    cout << a+b;
    return 0;
}
求关注

by An_Aholic @ 2023-04-08 14:57:47

@FinderHT lht 哥哥好帅


by ShenAndy @ 2023-04-21 16:55:28

建议用#include<iostream>


上一页 |