记录详情

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("%d", &k);
  ^~~~~~~
/in/foo.c:17:15: error: stray '\' in program
    printf("%d"\n", n);
               ^
/in/foo.c:17:16: error: expected ')' before 'n'
    printf("%d"\n", n);
                ^
/in/foo.c:17:17: warning: missing terminating " character
    printf("%d"\n", n);
                 ^
/in/foo.c:17:17: error: missing terminating " character
    printf("%d"\n", n);
                 ^~~~~~
/in/foo.c:17:13: warning: format '%d' expects a matching 'int' argument [-Wformat=]
    printf("%d"\n", n);
             ^
/in/foo.c:19:3: error: expected ';' before '}' token
   }
   ^

信息

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