记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:43:46: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
     printf("%d^%d mod %d=%d", m, n, p, result);
                                              ^
foo.cc:43:46: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
foo.cc:43:46: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=]
foo.cc:43:46: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=]
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 9=-1311561024, expect 9=1. 2ms 384.0 KiB
#2 Wrong Answer Read 100000007=84021174, expect 100000007=93652064. 1ms 384.0 KiB
#3 Wrong Answer Read 1234=376, expect 1234=618. 1ms 384.0 KiB
#4 Wrong Answer Read 100=-785679680, expect 100=25. 1ms 384.0 KiB
#5 Wrong Answer Read -2147283649^-214..., expect 2147683647^21474.... 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1031 快速幂取模
语言
C++
递交时间
2021-09-24 22:28:23
评测时间
2021-09-24 22:28:23
评测机
分数
0
总耗时
9ms
峰值内存
384.0 KiB