Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:27:35: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized]
   27 |                         if(i==b||i==c)
      |                                  ~^~~
/in/foo.cc:5:26: note: 'c' was declared here
    5 |         int a[9],sum=0,b,c;
      |                          ^
/in/foo.cc:27:29: warning: 'b' may be used uninitialized [-Wmaybe-uninitialized]
   27 |                         if(i==b||i==c)
      |                            ~^~~
/in/foo.cc:5:24: note: 'b' was declared here
    5 |         int a[9],sum=0,b,c;
      |                        ^
# 状态 耗时 内存占用
#1 Accepted 2ms 476.0 KiB
#2 Accepted 1ms 428.0 KiB
#3 Accepted 1ms 340.0 KiB
#4 Accepted 1ms 532.0 KiB
#5 Accepted 1ms 324.0 KiB
#6 Accepted 1ms 324.0 KiB
#7 Accepted 1ms 540.0 KiB
#8 Accepted 1ms 488.0 KiB
#9 Accepted 1ms 480.0 KiB
#10 Accepted 1ms 504.0 KiB

信息

递交者
类型
递交
题目
P1804 间谍
比赛
2025.4.12中级班练习
语言
C++
递交时间
2025-04-16 19:50:42
评测时间
2025-04-16 19:50:42
评测机
分数
100
总耗时
18ms
峰值内存
540.0 KiB