/ Vijos /

记录详情

Accepted

/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 196.0 KiB
#2 Accepted 0ms 200.0 KiB
#3 Accepted 1ms 208.0 KiB
#4 Accepted 1ms 204.0 KiB
#5 Accepted 1ms 204.0 KiB
#6 Accepted 3ms 332.0 KiB
#7 Accepted 1ms 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:37:15
评测时间
2020-01-19 00:37:15
评测机
分数
100
总耗时
13ms
峰值内存
332.0 KiB