/ 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]
 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]
 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]
 }
 ^
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 256.0 KiB
#2 Accepted 1ms 512.0 KiB
#3 Accepted 1ms 640.0 KiB
#4 Accepted 56ms 1.656 MiB
#5 Accepted 71ms 1.77 MiB
#6 Accepted 124ms 2.238 MiB
#7 Accepted 42ms 1.379 MiB
#8 Accepted 123ms 2.164 MiB
#9 Accepted 182ms 2.012 MiB
#10 Accepted 124ms 2.234 MiB

信息

递交者
类型
递交
题目
P1818 NOI嘉年华
语言
C++
递交时间
2021-07-21 09:12:04
评测时间
2021-07-21 09:12:04
评测机
分数
100
总耗时
730ms
峰值内存
2.238 MiB