/ 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 11ms 8.0 MiB
#2 Accepted 14ms 8.0 MiB
#3 Accepted 22ms 8.0 MiB
#4 Accepted 21ms 8.125 MiB
#5 Accepted 12ms 8.125 MiB
#6 Accepted 12ms 8.0 MiB
#7 Accepted 152ms 9.492 MiB
#8 Accepted 141ms 9.492 MiB
#9 Accepted 136ms 9.492 MiB
#10 Accepted 152ms 9.492 MiB
#11 Accepted 180ms 9.492 MiB
#12 Accepted 150ms 9.492 MiB
#13 Accepted 124ms 2.742 MiB
#14 Accepted 166ms 9.492 MiB
#15 Accepted 1364ms 23.234 MiB
#16 Accepted 1362ms 23.242 MiB
#17 Accepted 1560ms 23.242 MiB
#18 Accepted 1628ms 23.242 MiB
#19 Accepted 1622ms 23.242 MiB
#20 Accepted 1712ms 23.289 MiB

信息

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