记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:6:17: error: 'xin' undeclared (first use in this function)
  scanf("%d%d", &xin,&xmax);
                 ^~~
/in/foo.c:6:17: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:15:9: warning: missing terminating " character
  printf("%d\n, sum);
         ^
/in/foo.c:15:9: error: missing terminating " character
  printf("%d\n, sum);
         ^~~~~~~~~~~~
/in/foo.c:16:2: error: expected expression before 'return'
  return 0
  ^~~~~~
/in/foo.c:17:1: error: expected ';' before '}' token
 }
 ^

信息

递交者
类型
递交
题目
A2-1 循环结构入门:数列求和
比赛
泰院2401程序设计基础作业赛第一场(牛刀小试)
语言
C
递交时间
2024-10-21 17:29:13
评测时间
2024-10-21 17:29:13
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes