/ 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]
  119 | 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]
  123 | scanf( "%d" , &type ) ;
      | ~~~~~^~~~~~~~~~~~~~~~
foo.cc:126:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  126 | 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]
  129 | 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]
  132 | scanf( "%d%d" , &t , &c ) ; Delete( c ) ;
      | ~~~~~^~~~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 384.0 KiB
#2 Accepted 5ms 2.5 MiB
#3 Accepted 175ms 77.121 MiB
#4 Accepted 92ms 8.125 MiB
#5 Accepted 298ms 77.867 MiB
#6 Accepted 444ms 77.867 MiB
#7 Accepted 488ms 84.742 MiB
#8 Accepted 308ms 84.742 MiB
#9 Accepted 459ms 84.754 MiB
#10 Accepted 557ms 84.742 MiB

信息

递交者
类型
递交
题目
P1827 糖果雨
语言
C++
递交时间
2021-12-29 20:52:40
评测时间
2021-12-29 20:52:40
评测机
分数
100
总耗时
2832ms
峰值内存
84.754 MiB