Wrong Answer

foo.cc: In function 'void lllpr(__int128)':
foo.cc:7:163: warning: array subscript has type 'char' [-Wchar-subscripts]
 inline void lllpr(__int128 x) { if (x == 0) { cout.put('0'); return ; } if (x < 0) { cout.put('-'); x = -x; } static char stk[105], top = 0; while (x) { stk[top++] = x % 10 + 48; x /= 10; } while (top--) { cout.put(stk[top]); } }
                                                                                                                                                                   ^
foo.cc:7:223: warning: array subscript has type 'char' [-Wchar-subscripts]
 inline void lllpr(__int128 x) { if (x == 0) { cout.put('0'); return ; } if (x < 0) { cout.put('-'); x = -x; } static char stk[105], top = 0; while (x) { stk[top++] = x % 10 + 48; x /= 10; } while (top--) { cout.put(stk[top]); } }
                                                                                                                                                                                                                               ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 1035042089826177..., expect 19308689043391716. 1ms 384.0 KiB
#2 Wrong Answer Read 2250164289882737..., expect 291078858369499674. 1ms 384.0 KiB
#3 Wrong Answer Read 5798042782390166..., expect 135259016955974406. 1ms 384.0 KiB
#4 Wrong Answer Read 3499189023899555..., expect 12826743211807829. 1ms 384.0 KiB
#5 Wrong Answer Read 1982100261041130..., expect 261255285719308164. 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1001 【例题】64位整数乘法
语言
C++
递交时间
2021-11-21 10:44:47
评测时间
2021-11-21 10:44:47
评测机
分数
0
总耗时
8ms
峰值内存
384.0 KiB