/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:12:28: warning: unused variable 'ci' [-Wunused-variable]
   12 |     int n,i,left,right,mid,ci,m,last=1,haha=0,ans;
      |                            ^~
foo.cc:12:33: warning: unused variable 'last' [-Wunused-variable]
   12 |     int n,i,left,right,mid,ci,m,last=1,haha=0,ans;
      |                                 ^~~~
foo.cc:77:10: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
   77 |    cout<<ans;
      |          ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 15ms 8.027 MiB
#2 Accepted 15ms 8.027 MiB
#3 Accepted 17ms 8.027 MiB
#4 Accepted 17ms 8.023 MiB
#5 Accepted 16ms 8.043 MiB
#6 Accepted 17ms 7.957 MiB
#7 Accepted 259ms 9.527 MiB
#8 Accepted 256ms 9.484 MiB
#9 Accepted 225ms 9.523 MiB
#10 Accepted 224ms 9.535 MiB
#11 Accepted 255ms 9.57 MiB
#12 Accepted 254ms 9.508 MiB
#13 Accepted 189ms 2.609 MiB
#14 Accepted 214ms 9.543 MiB
#15 Accepted 1253ms 23.27 MiB
#16 Accepted 1239ms 23.312 MiB
#17 Accepted 1312ms 23.312 MiB
#18 Accepted 1317ms 23.219 MiB
#19 Accepted 1325ms 23.316 MiB
#20 Accepted 1316ms 23.328 MiB

信息

递交者
类型
递交
题目
P1782 借教室
语言
C++
递交时间
2023-07-05 22:35:43
评测时间
2023-07-05 22:35:43
评测机
分数
100
总耗时
9746ms
峰值内存
23.328 MiB