/ 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 11ms 8.0 MiB
#3 Accepted 10ms 8.125 MiB
#4 Accepted 10ms 8.0 MiB
#5 Accepted 12ms 8.0 MiB
#6 Accepted 12ms 8.0 MiB
#7 Accepted 184ms 9.492 MiB
#8 Accepted 184ms 9.492 MiB
#9 Accepted 302ms 9.492 MiB
#10 Accepted 152ms 9.492 MiB
#11 Accepted 134ms 9.492 MiB
#12 Accepted 137ms 9.492 MiB
#13 Accepted 232ms 2.617 MiB
#14 Accepted 142ms 9.492 MiB
#15 Accepted 1666ms 23.199 MiB
#16 Accepted 1516ms 23.242 MiB
#17 Accepted 1514ms 23.242 MiB
#18 Accepted 1379ms 23.246 MiB
#19 Accepted 1283ms 23.242 MiB
#20 Accepted 1594ms 23.242 MiB

信息

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