Accepted
foo.cc: In function 'int main()': foo.cc:5:15: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] int a,b;scanf("%d%d",&a,&b); ~~~~~^~~~~~~~~~~~~~
正在同步测试数据,请稍后 自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
代码
#include<iostream>
using namespace std;
int main()
{
int a,b;scanf("%d%d",&a,&b);
printf("%d",a+b);
return 0;
}