/ 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 10ms 8.012 MiB
#2 Accepted 10ms 8.0 MiB
#3 Accepted 11ms 8.0 MiB
#4 Accepted 11ms 8.0 MiB
#5 Accepted 11ms 8.0 MiB
#6 Accepted 12ms 8.0 MiB
#7 Accepted 149ms 9.492 MiB
#8 Accepted 151ms 9.492 MiB
#9 Accepted 139ms 9.492 MiB
#10 Accepted 168ms 9.492 MiB
#11 Accepted 138ms 9.492 MiB
#12 Accepted 157ms 9.492 MiB
#13 Accepted 134ms 2.742 MiB
#14 Accepted 183ms 9.492 MiB
#15 Accepted 1411ms 23.254 MiB
#16 Accepted 1340ms 23.242 MiB
#17 Accepted 1342ms 23.242 MiB
#18 Accepted 1294ms 23.242 MiB
#19 Accepted 1288ms 23.242 MiB
#20 Accepted 1351ms 23.254 MiB

信息

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