/ Vijos /

记录详情

Runtime Error

/in/foo.c: In function 'main':
/in/foo.c:4:1: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
 scanf("%d %d %d",m,s,t);
 ^
/in/foo.c:4:1: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'int' [-Wformat=]
/in/foo.c:4:1: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'int' [-Wformat=]
/in/foo.c:3:18: warning: unused variable 't1' [-Wunused-variable]
 {int m,s,t,m1,s1,t1;
                  ^
/in/foo.c:3:15: warning: unused variable 's1' [-Wunused-variable]
 {int m,s,t,m1,s1,t1;
               ^
/in/foo.c:3:12: warning: unused variable 'm1' [-Wunused-variable]
 {int m,s,t,m1,s1,t1;
            ^
/in/foo.c:4:6: warning: 'm' is used uninitialized in this function [-Wuninitialized]
 scanf("%d %d %d",m,s,t);
      ^
/in/foo.c:4:6: warning: 's' is used uninitialized in this function [-Wuninitialized]
/in/foo.c:4:6: warning: 't' is used uninitialized in this function [-Wuninitialized]
# 状态 耗时 内存占用
#1 Runtime Error 3ms 196.0 KiB
#2 Runtime Error 3ms 196.0 KiB
#3 Runtime Error 3ms 192.0 KiB
#4 Runtime Error 3ms 200.0 KiB
#5 Runtime Error 3ms 196.0 KiB
#6 Runtime Error 3ms 196.0 KiB
#7 Runtime Error 3ms 200.0 KiB
#8 Runtime Error 3ms 192.0 KiB
#9 Runtime Error 3ms 196.0 KiB
#10 Runtime Error 3ms 196.0 KiB

信息

递交者
类型
递交
题目
P1032 逃离X学校
比赛
2019XJU软件实验室大一考核
语言
C
递交时间
2019-11-23 13:28:09
评测时间
2019-11-23 13:28:09
评测机
分数
0
总耗时
34ms
峰值内存
200.0 KiB