/ Vijos /

记录详情

Runtime Error

foo.c: In function 'handle':
foo.c:61:3: warning: label 'place' defined but not used [-Wunused-label]
   place:
   ^~~~~
foo.c: In function 'main':
foo.c:264:2: warning: 'gets' is deprecated [-Wdeprecated-declarations]
  gets(a[0]);
  ^~~~
In file included from /usr/include/stdio.h:936:0,
                 from foo.c:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:233:1: note: declared here
 gets (char *__str)
 ^~~~
foo.c:274:3: warning: 'gets' is deprecated [-Wdeprecated-declarations]
   gets(a[0]);
   ^~~~
In file included from /usr/include/stdio.h:936:0,
                 from foo.c:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:233:1: note: declared here
 gets (char *__str)
 ^~~~
foo.c:269:8: warning: unused variable 'bb' [-Wunused-variable]
  int k,bb;
        ^~
foo.c:264:2: warning: ignoring return value of 'gets', declared with attribute warn_unused_result [-Wunused-result]
  gets(a[0]);
  ^~~~~~~~~~
foo.c:270:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&k);
  ^~~~~~~~~~~~~~
foo.c:274:3: warning: ignoring return value of 'gets', declared with attribute warn_unused_result [-Wunused-result]
   gets(a[0]);
   ^~~~~~~~~~
/tmp/ccUevVIA.o: In function `main':
foo.c:(.text.startup+0xb1): warning: the `gets' function is dangerous and should not be used.

自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
{"receive":"2020-07-02T03:11:06.667Z","handle":"2020-07-02T03:11:06.667Z","cache_start":"2020-07-02T03:11:06.674Z","read_cases":"2020-07-02T03:11:06.786Z","judge":"2020-07-02T03:11:06.787Z","done":"2020-07-02T03:11:07.119Z"}
# 状态 耗时 内存占用
#1 Runtime Error 0ms 128.0 KiB
#2 Runtime Error 0ms 128.0 KiB
#3 Runtime Error 0ms 128.0 KiB
#4 Runtime Error 0ms 128.0 KiB
#5 Runtime Error 0ms 128.0 KiB
#6 Runtime Error 0ms 128.0 KiB
#7 Runtime Error 0ms 128.0 KiB
#8 Runtime Error 0ms 128.0 KiB
#9 Runtime Error 0ms 128.0 KiB
#10 Runtime Error 0ms 128.0 KiB

信息

递交者
类型
递交
题目
P1003 等价表达式
语言
C
递交时间
2020-07-02 11:11:06
评测时间
2020-07-02 11:11:06
评测机
分数
0
总耗时
7ms
峰值内存
128.0 KiB