记录详情

Accepted

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:27:34: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
  cout<<a<<"^"<<b<<" mod "<<c<<"="<<h;
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 400.0 KiB

信息

递交者
类型
自测
题目
P1031 快速幂取模
语言
C++
递交时间
2021-09-24 20:20:41
评测时间
2021-09-24 20:20:41
评测机
分数
10
总耗时
2ms
峰值内存
400.0 KiB