/ Vijos /

记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:5:9: error: 'inta' undeclared (first use in this function); did you mean 'int'?
    5 |         inta,b;
      |         ^~~~
      |         int
/in/foo.c:5:9: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:5:14: error: 'b' undeclared (first use in this function)
    5 |         inta,b;
      |              ^
/in/foo.c:5:13: warning: left-hand operand of comma expression has no effect [-Wunused-value]
    5 |         inta,b;
      |             ^
/in/foo.c:6:24: error: 'a' undeclared (first use in this function)
    6 |         scanf("%d,%d",&a,&b);
      |                        ^

信息

递交者
类型
递交
题目
P1000 A+B Problem
语言
C
递交时间
2026-05-13 22:34:44
评测时间
2026-05-13 22:34:44
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes