/ Vijos /

记录详情

Accepted

/in/foo.c: In function 'main':
/in/foo.c:14:16: warning: array subscript has type 'char' [-Wchar-subscripts]
         tabtemp[i] = tab[i];
                ^
/in/foo.c:14:25: warning: array subscript has type 'char' [-Wchar-subscripts]
         tabtemp[i] = tab[i];
                         ^
/in/foo.c:19:12: warning: array subscript has type 'char' [-Wchar-subscripts]
         tab[i] = tab[i+1];
            ^
/in/foo.c:24:12: warning: array subscript has type 'char' [-Wchar-subscripts]
         tab[i] = tab[i+2];
            ^
/in/foo.c:29:20: warning: array subscript has type 'char' [-Wchar-subscripts]
         sum += (tab[i] - '0') * (i + 1);
                    ^
# 状态 耗时 内存占用
#1 Accepted 3ms 256.0 KiB
#2 Accepted 3ms 256.0 KiB
#3 Accepted 1ms 256.0 KiB
#4 Accepted 1ms 256.0 KiB
#5 Accepted 2ms 256.0 KiB
#6 Accepted 2ms 256.0 KiB
#7 Accepted 3ms 256.0 KiB
#8 Accepted 2ms 256.0 KiB
#9 Accepted 1ms 256.0 KiB
#10 Accepted 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1484 ISBN号码
语言
C
递交时间
2018-05-30 14:47:52
评测时间
2018-05-30 14:47:52
评测机
分数
100
总耗时
25ms
峰值内存
256.0 KiB