记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:10:2: warning: implicit declaration of function 'scanf_s' [-Wimplicit-function-declaration]
  scanf_s("%" PRIu32, &k);
  ^~~~~~~
/in/foo.c:15:15: error: 'i' undeclared (first use in this function)
   Sn += 1.0 / i;
               ^
/in/foo.c:15:15: note: each undeclared identifier is reported only once for each function it appears in

信息

递交者
类型
递交
题目
P1000 级数求和
语言
C
递交时间
2024-08-26 14:48:16
评测时间
2024-08-26 14:48:16
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes