/ Vijos /

记录详情

Runtime Error

/in/foo.c: In function 'main':
/in/foo.c:258:2: warning: 'gets' is deprecated [-Wdeprecated-declarations]
  gets(a[0]);
  ^~~~
In file included from /in/foo.c:1:0:
/usr/include/stdio.h:640:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^~~~
/in/foo.c:248:11: warning: unused variable 'tar2' [-Wunused-variable]
  int tar1,tar2;
           ^~~~
/in/foo.c:248:6: warning: unused variable 'tar1' [-Wunused-variable]
  int tar1,tar2;
      ^~~~
/in/foo.c:247:10: warning: unused variable 'j' [-Wunused-variable]
  int tar,j;
          ^
/in/foo.c:247:6: warning: variable 'tar' set but not used [-Wunused-but-set-variable]
  int tar,j;
      ^~~
/tmp/ccK5Qx2I.o: In function `main':
foo.c:(.text.startup+0x92): warning: the `gets' function is dangerous and should not be used.
# 状态 耗时 内存占用
#1 Runtime Error 1ms 128.0 KiB
#2 Runtime Error 1ms 216.0 KiB
#3 Runtime Error 1ms 128.0 KiB
#4 Wrong Answer 1ms 216.0 KiB
#5 Wrong Answer 1ms 128.0 KiB
#6 Wrong Answer 1ms 128.0 KiB
#7 Runtime Error 1ms 128.0 KiB
#8 Runtime Error 1ms 128.0 KiB
#9 Runtime Error 1ms 128.0 KiB
#10 Runtime Error 1ms 216.0 KiB

信息

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