记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:7:2: warning: implicit declaration of function 'put' [-Wimplicit-function-declaration]
  put("Please input a positive integer number.");
  ^~~
/in/foo.c:11:2: warning: implicit declaration of function 'scanf_s' [-Wimplicit-function-declaration]
  scanf_s("%" PRIu32, &k);
  ^~~~~~~
/in/foo.c:19:4: warning: implicit declaration of function 'print' [-Wimplicit-function-declaration]
    print("%" PRIu32 "\n", i);
    ^~~~~
/tmp/ccsIPjvE.o: In function `main':
foo.c:(.text.startup+0x1f): undefined reference to `put'
foo.c:(.text.startup+0x32): undefined reference to `scanf_s'
foo.c:(.text.startup+0x63): undefined reference to `print'
collect2: error: ld returned 1 exit status

信息

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