记录详情

Compile Error

foo.cc:6:1: error: 'Lint' does not name a type; did you mean 'uint'?
 Lint Mod(long long a, long long b, long long c)
 ^~~~
 uint
foo.cc: In function 'int main()':
foo.cc:17:50: error: 'Mod' was not declared in this scope
  cout << b << "^" << p << " mod " << k << "=" << Mod(b, p, k) << endl;
                                                  ^~~
foo.cc:17:50: note: suggested alternative: 'void'
  cout << b << "^" << p << " mod " << k << "=" << Mod(b, p, k) << endl;
                                                  ^~~
                                                  void
[Hydro](https://hydro.ac)提供评测服务

信息

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