/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:28:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   28 | scanf( "%d" , &n ) ; an = 0 ;
      | ~~~~~^~~~~~~~~~~~~
foo.cc:30:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   30 | scanf( "%d%d" , S + i , T + i ) ; T[ i ] += S[ i ] ;
      | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc: In function 'int getp(int)':
foo.cc:21:1: warning: control reaches end of non-void function [-Wreturn-type]
   21 | }
      | ^
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 4ms 512.0 KiB
#3 Accepted 4ms 640.0 KiB
#4 Accepted 102ms 1.742 MiB
#5 Accepted 76ms 1.742 MiB
#6 Accepted 95ms 2.219 MiB
#7 Accepted 32ms 1.375 MiB
#8 Accepted 97ms 2.117 MiB
#9 Accepted 88ms 2.117 MiB
#10 Accepted 96ms 2.242 MiB

信息

递交者
类型
递交
题目
P1818 NOI嘉年华
语言
C++
递交时间
2021-12-29 20:47:46
评测时间
2021-12-29 20:47:46
评测机
分数
100
总耗时
600ms
峰值内存
2.242 MiB