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

Tests(0/0):


Code:

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


Run Info:

Main.c: In function 'main':
Main.c:5:5: warning: implicit declaration of function 'scanf_s' [-Wimplicit-function-declaration]
     scanf_s("%d,%d",&a,&b);
     ^
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:8:1: error: expected ';' before '}' token
 }
 ^