记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:5:15: warning: missing terminating " character
    5 |         scanf("%d%d ,  &x,&y);
      |               ^
/in/foo.c:5:15: error: missing terminating " character
    5 |         scanf("%d%d ,  &x,&y);
      |               ^~~~~~~~~~~~~~~~
/in/foo.c:6:13: warning: missing terminating " character
    6 |      printf("%d , x+y);
      |             ^
/in/foo.c:6:13: error: missing terminating " character
    6 |      printf("%d , x+y);
      |             ^~~~~~~~~~~
/in/foo.c:7:2: error: expected expression before 'return'
    7 |  return 0 ;
      |  ^~~~~~
/in/foo.c:7:12: error: expected ')' before '}' token
    7 |  return 0 ;
      |            ^
      |            )
    8 | 
    9 | }
      | ~           
/in/foo.c:5:14: note: to match this '('
    5 |         scanf("%d%d ,  &x,&y);
      |              ^
/in/foo.c:7:12: error: expected ';' before '}' token
    7 |  return 0 ;
      |            ^
      |            ;
    8 | 
    9 | }
      | ~           
/in/foo.c:4:10: warning: unused variable 'y' [-Wunused-variable]
    4 | {int x , y ;
      |          ^
/in/foo.c:4:6: warning: unused variable 'x' [-Wunused-variable]
    4 | {int x , y ;
      |      ^

信息

递交者
类型
自测
题目
P1000 A+B Problem
语言
C
递交时间
2026-11-13 18:46:54
评测时间
2026-11-13 18:46:54
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes