Accepted

foo.cc: In function ‘int main()’:
foo.cc:5:29: warning: unused variable ‘maxn’ [-Wunused-variable]
    5 |         int n,ge,shi,bai,nt,maxn=-100000,minn=100000,a[3],maxnt,it;
      |                             ^~~~
foo.cc:5:59: warning: unused variable ‘maxnt’ [-Wunused-variable]
    5 |         int n,ge,shi,bai,nt,maxn=-100000,minn=100000,a[3],maxnt,it;
      |                                                           ^~~~~
foo.cc:29:17: warning: ‘it’ may be used uninitialized [-Wmaybe-uninitialized]
   29 |                 if(ge==it)
      |                 ^~
foo.cc:5:65: note: ‘it’ was declared here
    5 |         int n,ge,shi,bai,nt,maxn=-100000,minn=100000,a[3],maxnt,it;
      |                                                                 ^~
# 状态 耗时 内存占用
#1 Accepted 3ms 320.0 KiB
#2 Accepted 2ms 536.0 KiB
#3 Accepted 2ms 536.0 KiB
#4 Accepted 2ms 540.0 KiB
#5 Accepted 2ms 764.0 KiB
#6 Accepted 2ms 304.0 KiB
#7 Accepted 2ms 536.0 KiB
#8 Accepted 2ms 380.0 KiB
#9 Accepted 2ms 536.0 KiB
#10 Accepted 2ms 536.0 KiB
#11 Accepted 2ms 764.0 KiB
#12 Accepted 2ms 324.0 KiB
#13 Accepted 2ms 536.0 KiB
#14 Accepted 3ms 536.0 KiB
#15 Accepted 2ms 536.0 KiB
#16 Accepted 2ms 552.0 KiB
#17 Accepted 2ms 536.0 KiB
#18 Accepted 2ms 536.0 KiB
#19 Accepted 2ms 536.0 KiB
#20 Accepted 2ms 320.0 KiB

信息

递交者
类型
递交
题目
P2280 数字重排
语言
C++
递交时间
2024-06-29 23:14:53
评测时间
2024-06-29 23:14:53
评测机
分数
100
总耗时
54ms
峰值内存
764.0 KiB