/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:119:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf( "%d%d" , &n , &len ) ;
 ~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc:123:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf( "%d" , &type ) ;
 ~~~~~^~~~~~~~~~~~~~~~
foo.cc:126:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf( "%d%d%d%d%d" , &t , &c , &l , &r , &d ) ; modify( t , c , l , r , d ) ;
 ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:129:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf( "%d%d%d" , &t , &l , &r ) ; printf( "%d\n" , query( t , l , r ) ) ;
 ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:132:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf( "%d%d" , &t , &c ) ; Delete( c ) ;
 ~~~~~^~~~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 456.0 KiB
#2 Accepted 2ms 2.625 MiB
#3 Accepted 72ms 77.117 MiB
#4 Accepted 75ms 8.113 MiB
#5 Accepted 308ms 77.879 MiB
#6 Accepted 459ms 77.816 MiB
#7 Accepted 534ms 84.676 MiB
#8 Accepted 330ms 84.762 MiB
#9 Accepted 465ms 84.785 MiB
#10 Accepted 577ms 84.785 MiB

信息

递交者
类型
递交
题目
P1827 糖果雨
语言
C++
递交时间
2021-07-21 09:19:09
评测时间
2021-07-21 09:19:09
评测机
分数
100
总耗时
2827ms
峰值内存
84.785 MiB