记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:6:2: warning: 'gets' is deprecated [-Wdeprecated-declarations]
  gets(s);
  ^~~~
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:13:4: error: 't' undeclared (first use in this function)
    t[r]=s[i];
    ^
/in/foo.c:13:4: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:13:6: error: 'r' undeclared (first use in this function)
    t[r]=s[i];
      ^
/in/foo.c:35:1: error: expected declaration or statement at end of input
 }
 ^

信息

递交者
类型
递交
题目
2-5 二进制表达式求值
语言
C
递交时间
2020-12-23 18:37:16
评测时间
2020-12-23 18:37:16
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes