Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
61209 050324_zj [在线测评解答教程] A+B Problem C Compile Error 0 MS 0 KB 113 2023-12-02 17:46:58

Tests(0/0):


Code:

#include<stdio.h> int main() { int a,b; scanf("%d,%d",&a,&b); printf("%d",a+b); return0; }


Run Info:

Main.c: In function 'main':
Main.c:7:5: error: 'return0' undeclared (first use in this function)
     return0;
     ^
Main.c:7:5: note: each undeclared identifier is reported only once for each function it appears in
Main.c:5:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d,%d",&a,&b);
     ^