记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:25:49: warning: statement has no effect [-Wunused-value]
   25 |                                 e[i] * l % q[j] == 1;
      |                                 ~~~~~~~~~~~~~~~~^~~~
foo.cc:26:41: warning: 'l' may be used uninitialized [-Wmaybe-uninitialized]
   26 |                                 cout << l;
      |                                         ^
foo.cc:4:52: note: 'l' was declared here
    4 |         int a, n, c, d, e[10000], q[100], o, p, i, l,j;//逆元l;
      |                                                    ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Floating point exception 3ms 412.0 KiB
#2 Runtime Error Floating point exception 3ms 460.0 KiB
#3 Runtime Error Floating point exception 2ms 412.0 KiB
#4 Runtime Error Floating point exception 3ms 412.0 KiB
#5 Runtime Error Floating point exception 3ms 412.0 KiB

信息

递交者
类型
递交
题目
5-2 模运算的逆元
比赛
2023 程序设计与竞赛(作业3:中秋和国庆)
语言
C++
递交时间
2023-10-01 16:08:44
评测时间
2023-10-01 16:08:44
评测机
分数
0
总耗时
17ms
峰值内存
460.0 KiB