为什么会CE?

P1001 A+B Problem

DreamCHN @ 2023-10-29 22:12:57

CE记录

#include<iostream>
#define int long long
#pragam GCC optimize(2)
using namespace std;
signed main(){
    int a,b;
    cin>>a>>b;
    cout<<a+b;
    return 0;
}

by mayanze123 @ 2023-12-07 20:54:12

搞那么复杂干什么

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

by Tseshongfeeshur @ 2023-12-10 08:53:11

n=input();print(int(n.split(" ")[0])+int(n.split(" ")[1])


by GeorgeCHN @ 2024-04-04 15:53:45

把第二第三删了就行了。 //看在都是Dream骨灰级粉的份上,点个关注吧(doge)


上一页 |