/ Vijos /

记录详情

Runtime Error

/in/foo.c: In function 'main':
/in/foo.c:12:17: warning: format '%c' expects argument of type 'char *', but argument 2 has type 'int *' [-Wformat=]
         scanf("%c",&A[i]);
                 ^
/in/foo.c: In function 'point11':
/in/foo.c:30:16: warning: comparison between pointer and integer
         if(A[i]=="\n") ;
                ^~
/in/foo.c:30:16: warning: comparison with string literal results in unspecified behavior [-Waddress]
/in/foo.c: In function 'point21':
/in/foo.c:50:16: warning: comparison between pointer and integer
         if(A[i]=="\n") ;
                ^~
/in/foo.c:50:16: warning: comparison with string literal results in unspecified behavior [-Waddress]
# 状态 耗时 内存占用
#1 Accepted 1ms 200.0 KiB
#2 Runtime Error 0ms 200.0 KiB
#3 Runtime Error 0ms 204.0 KiB
#4 Runtime Error 0ms 204.0 KiB
#5 Runtime Error 0ms 208.0 KiB
#6 Runtime Error 0ms 204.0 KiB
#7 Runtime Error 0ms 208.0 KiB
#8 Accepted 0ms 200.0 KiB
#9 Accepted 0ms 204.0 KiB
#10 Accepted 0ms 200.0 KiB

信息

递交者
类型
递交
题目
P1217 乒乓球
语言
C
递交时间
2020-01-19 00:35:32
评测时间
2020-01-19 00:35:32
评测机
分数
40
总耗时
9ms
峰值内存
208.0 KiB