/ Vijos /

记录详情

Accepted

foo.cc: In function 'void init()':
foo.cc:9:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 #define R(a) scanf("%d",&a)
              ~~~~~^~~~~~~~~
foo.cc:43:5: note: in expansion of macro 'R'
     R(n);
     ^
foo.cc:9:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 #define R(a) scanf("%d",&a)
              ~~~~~^~~~~~~~~
foo.cc:47:9: note: in expansion of macro 'R'
         R(x);
         ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 464.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 2ms 412.0 KiB
#4 Accepted 2ms 440.0 KiB
#5 Accepted 3ms 640.0 KiB
#6 Accepted 2ms 512.0 KiB
#7 Accepted 6ms 1.688 MiB
#8 Accepted 25ms 4.422 MiB
#9 Accepted 33ms 5.344 MiB
#10 Accepted 4ms 1.199 MiB

信息

递交者
类型
递交
题目
P1422 教主的难题
语言
C++
递交时间
2021-07-16 18:09:47
评测时间
2021-07-16 18:09:47
评测机
分数
100
总耗时
84ms
峰值内存
5.344 MiB