TimADE @ 2024-10-13 12:34:22
#include<iostream>
using namespace std;
#define int long long;
#define float long double;
#define double long double;
int main{
int a,b;
cin>>a>>b;
cout<<a+b;
return 0;
}
by liyunhe @ 2024-10-13 12:38:00
@TimADE define的结尾不需要加;
by GavinCQTD @ 2024-10-13 12:39:33
int main换成等价的signed main
by TimADE @ 2024-10-13 12:41:26
@liyunhe
by Lovely_Love__qwq @ 2024-10-13 12:45:24
洛谷评测机出问题了???
by TimADE @ 2024-10-13 12:46:43
@GavinCQTD
by Lovely_Love__qwq @ 2024-10-13 12:49:56
3 4 5行全删了,int main这里加括号
我k,我这的看不出来
#include<iostream>
using namespace std;
int main(){
int a,b;
cin>>a>>b;
cout<<a+b;
return 0;
}
求关注
by liyunhe @ 2024-10-13 15:19:25
#include<iostream>
using namespace std;
#define int long long
#define float long double
#define double long double
int main(){
int a,b;
cin>>a>>b;
cout<<a+b;
return 0;
}
@TimADE
by Wang1006 @ 2024-10-13 19:11:34
@liyunhe 你这个过不了
by _shining @ 2024-10-14 17:45:35
@TimADE int main
改成 signed main
即可。
by liyunhe @ 2024-10-14 18:14:55
@Wang1006 这是按ta的代码改的,本来不需要加那三个#define