Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:29: warning: 'xiaoAScore' may be used uninitialized [-Wmaybe-uninitialized]
    9 |         for(int i=0;i<n;i++)if(x[i]>xiaoAScore)count++;
      |                             ^~
/in/foo.cc:7:13: note: 'xiaoAScore' was declared here
    7 |         int xiaoAScore;
      |             ^~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 508.0 KiB
#2 Accepted 1ms 352.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Accepted 1ms 360.0 KiB
#5 Accepted 1ms 532.0 KiB
#6 Accepted 1ms 480.0 KiB
#7 Accepted 1ms 364.0 KiB
#8 Accepted 1ms 544.0 KiB
#9 Accepted 1ms 376.0 KiB
#10 Accepted 1ms 532.0 KiB

信息

递交者
类型
递交
题目
P2666 名次
比赛
2026.3.14中级班练习
语言
C++
递交时间
2026-03-15 20:19:52
评测时间
2026-03-24 02:13:34
评测机
分数
100
总耗时
17ms
峰值内存
544.0 KiB