/ 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 12ms 8.0 MiB
#2 Accepted 13ms 8.0 MiB
#3 Accepted 13ms 8.0 MiB
#4 Accepted 13ms 8.125 MiB
#5 Accepted 19ms 8.0 MiB
#6 Accepted 18ms 8.125 MiB
#7 Accepted 174ms 9.617 MiB
#8 Accepted 166ms 9.617 MiB
#9 Accepted 158ms 9.496 MiB
#10 Accepted 156ms 9.492 MiB
#11 Accepted 157ms 9.516 MiB
#12 Accepted 156ms 9.492 MiB
#13 Accepted 118ms 2.742 MiB
#14 Accepted 128ms 9.492 MiB
#15 Accepted 1322ms 23.242 MiB
#16 Accepted 1320ms 23.242 MiB
#17 Accepted 1881ms 23.324 MiB
#18 Accepted 1809ms 23.242 MiB
#19 Accepted 1605ms 23.242 MiB
#20 Accepted 1787ms 23.242 MiB

信息

递交者
类型
递交
题目
P1782 借教室
语言
C++
递交时间
2021-12-18 16:50:47
评测时间
2021-12-18 16:50:47
评测机
分数
100
总耗时
11033ms
峰值内存
23.324 MiB