记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:5:2: warning: implicit declaration of function 'put' [-Wimplicit-function-declaration]
  put("Please input a positive integer number.");
  ^~~
/in/foo.c:9:2: warning: implicit declaration of function 'scanf_s' [-Wimplicit-function-declaration]
  scanf_s("%u", &k);
  ^~~~~~~
/in/foo.c:17:4: warning: implicit declaration of function 'print' [-Wimplicit-function-declaration]
    print("%u"\n", i);
    ^~~~~
/in/foo.c:17:14: error: stray '\' in program
    print("%u"\n", i);
              ^
/in/foo.c:17:15: error: expected ')' before 'n'
    print("%u"\n", i);
               ^
/in/foo.c:17:16: warning: missing terminating " character
    print("%u"\n", i);
                ^
/in/foo.c:17:16: error: missing terminating " character
    print("%u"\n", i);
                ^~~~~~
/in/foo.c:18:3: error: expected ';' before '}' token
   }
   ^

信息

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