记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:8:19: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long long int *' [-Wformat=]
    8 |         scanf("%11d", &num);
      |                ~~~^   ~~~~
      |                   |   |
      |                   |   long long int *
      |                   int *
      |                %11lld
/in/foo.c:15:9: warning: implicit declaration of function 'prinf'; did you mean 'printf'? [-Wimplicit-function-declaration]
   15 |         prinf("%d %d %d\n",
      |         ^~~~~
      |         printf
/usr/bin/ld: /tmp/ccRT4aMJ.o: in function `main':
foo.c:(.text.startup+0xef): undefined reference to `prinf'
collect2: error: ld returned 1 exit status

信息

递交者
类型
自测
语言
C
递交时间
2026-11-13 19:55:33
评测时间
2026-11-13 19:55:33
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes