/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:16:18: warning: 'n' is used uninitialized in this function [-Wuninitialized]
   16 |     cout << (x%(n+1)+(qpow(k,n)%(n+1)*m%(n+1))%(n+1))%(n+1) << endl;
      |                ~~^~~
foo.cc:16:15: warning: 'x' is used uninitialized in this function [-Wuninitialized]
   16 |     cout << (x%(n+1)+(qpow(k,n)%(n+1)*m%(n+1))%(n+1))%(n+1) << endl;
      |              ~^~~~~~
foo.cc:16:27: warning: 'k' is used uninitialized in this function [-Wuninitialized]
   16 |     cout << (x%(n+1)+(qpow(k,n)%(n+1)*m%(n+1))%(n+1))%(n+1) << endl;
      |                       ~~~~^~~~~
foo.cc:16:39: warning: 'm' is used uninitialized in this function [-Wuninitialized]
   16 |     cout << (x%(n+1)+(qpow(k,n)%(n+1)*m%(n+1))%(n+1))%(n+1) << endl;
      |                                       ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 11885. 2ms 384.0 KiB
#2 Wrong Answer Read 0, expect 6707. 2ms 384.0 KiB
#3 Wrong Answer Read 0, expect 4542. 1ms 384.0 KiB
#4 Wrong Answer Read 0, expect 5725. 1ms 512.0 KiB
#5 Wrong Answer Read 0, expect 10693. 2ms 384.0 KiB
#6 Wrong Answer Read 0, expect 3725. 2ms 384.0 KiB
#7 Wrong Answer Read 0, expect 16812. 2ms 384.0 KiB
#8 Wrong Answer Read 0, expect 7178. 1ms 384.0 KiB
#9 Wrong Answer Read 0, expect 83. 1ms 384.0 KiB
#10 Wrong Answer Read 0, expect 648. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1841 转圈游戏
语言
C++
递交时间
2022-01-26 18:19:59
评测时间
2022-01-26 18:19:59
评测机
分数
0
总耗时
21ms
峰值内存
512.0 KiB