/ Vijos /

记录详情

Accepted

foo.cc: In function 'void input()':
foo.cc:5:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 #define s(x) scanf("%lld",&(x))
              ~~~~~^~~~~~~~~~~~~
foo.cc:17:2: note: in expansion of macro 's'
  s(n);
  ^
foo.cc:5:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 #define s(x) scanf("%lld",&(x))
              ~~~~~^~~~~~~~~~~~~
foo.cc:19:3: note: in expansion of macro 's'
   s(a[i]);
   ^
# 状态 耗时 内存占用
#1 Accepted 5ms 672.0 KiB
#2 Accepted 2ms 412.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 3ms 412.0 KiB
#6 Accepted 3ms 544.0 KiB
#7 Accepted 6ms 728.0 KiB
#8 Accepted 5ms 656.0 KiB
#9 Accepted 5ms 656.0 KiB
#10 Accepted 5ms 676.0 KiB

信息

递交者
类型
递交
题目
P1097 合并果子
语言
C++
递交时间
2021-01-27 09:55:53
评测时间
2021-01-27 09:55:53
评测机
分数
100
总耗时
42ms
峰值内存
728.0 KiB