/ Vijos /

记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:5:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
  int n,x.sum=0;
         ^
/in/foo.c:6:19: error: 'x' undeclared (first use in this function)
  scanf("%d%d",&n,&x);
                   ^
/in/foo.c:6:19: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:11:3: error: 'sum' undeclared (first use in this function)
   sum++;
   ^~~

信息

递交者
类型
递交
题目
P1848 记数问题
语言
C
递交时间
2024-01-03 18:18:10
评测时间
2024-01-03 18:18:10
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes