/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:43:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   43 |   for (int i = 2;i <= 9;i++) scanf("%d", &t), (goal[n] *= 10) += t;n++;
      |   ^~~
foo.cc:43:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   43 |   for (int i = 2;i <= 9;i++) scanf("%d", &t), (goal[n] *= 10) += t;n++;
      |                                                                    ^
foo.cc:43:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   43 |   for (int i = 2;i <= 9;i++) scanf("%d", &t), (goal[n] *= 10) += t;n++;
      |                              ~~~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 968ms 32.742 MiB
#2 Accepted 890ms 32.742 MiB
#3 Accepted 1064ms 32.742 MiB
#4 Accepted 1050ms 32.867 MiB
#5 Accepted 983ms 32.742 MiB
#6 Accepted 987ms 32.742 MiB
#7 Accepted 892ms 32.742 MiB
#8 Accepted 878ms 32.742 MiB
#9 Accepted 988ms 32.742 MiB
#10 Accepted 991ms 32.742 MiB

信息

递交者
类型
递交
题目
P1029 晴天小猪历险记之Number
语言
C++
递交时间
2021-12-24 21:18:45
评测时间
2021-12-24 21:18:45
评测机
分数
100
总耗时
9695ms
峰值内存
32.867 MiB