提交记录 #270

提交时间:2024-11-19 15:34:45
语言:c 状态:Unaccepted
编译情况:编译成功
code.c: In function ‘main’:
code.c:11:17: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘short int *’ [-Wformat=]
   11 |         scanf("%d %d",&n[k],&m[k]);
      |                ~^     ~~~~~
      |                 |     |
      |                 int * short int *
      |                %hd
code.c:11:20: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘short int *’ [-Wformat=]
   11 |         scanf("%d %d",&n[k],&m[k]);
      |                   ~^        ~~~~~
      |                    |        |
      |                    int *    short int *
      |                   %hd
code.c:20:13: warning: implicit declaration of function ‘gets’; did you mean ‘fgets’? [-Wimplicit-function-declaration]
   20 |             gets(str);
      |             ^~~~
      |             fgets
/usr/bin/ld: /tmp/ccyvRTbB.o: in function `main':
code.c:(.text.startup+0xa6): warning: the `gets' function is dangerous and should not be used.
固定测试点#1:
acAccepted
time 0.009s
memory 496 kB
固定测试点#2:
reRuntime Error: ./code.exe: error while loading shared libraries: libc.so.6: cannot create shared object descriptor: Cannot allocate memory - Returning:127
time 0.000s
memory N/A
附加测试点暂不可用
... 不可用
time N/A
memory N/A
京ICP备2024093084 号