记录详情

Wrong Answer

foo.cc: In function 'int M(int, int)':
foo.cc:10:11: warning: value computed is not used [-Wunused-value]
   M(a,n-1)*a;
   ~~~~~~~~^~
foo.cc:20:9: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return c;
         ^
foo.cc: In function 'int main()':
foo.cc:20:9: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return c;
         ^
foo.cc:7:7: note: 'c' was declared here
  long c;
       ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 9=0, expect 9=1. 1ms 384.0 KiB
#2 Wrong Answer Read 100000007=625, expect 100000007=93652064. 1ms 384.0 KiB
#3 Wrong Answer Read 1234=-529907712, expect 1234=618. 1ms 384.0 KiB
#4 Wrong Answer Read 100=0, expect 100=25. 1ms 384.0 KiB
#5 Wrong Answer Read 2147483647^-1207..., expect 2147683647^21474.... 2ms 384.0 KiB

信息

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