Accepted

foo.cc: In function 'int main()':
foo.cc:9:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    9 |      if(i%7==0||i%10==7||i/10==7)
      |      ^~
foo.cc:11:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   11 |   if(f==1)
      |   ^~
foo.cc:4:21: warning: unused variable 'b' [-Wunused-variable]
    4 |     int i=1,sum=0,n,b,c,f;
      |                     ^
foo.cc:4:23: warning: unused variable 'c' [-Wunused-variable]
    4 |     int i=1,sum=0,n,b,c,f;
      |                       ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 4ms 384.0 KiB

信息

递交者
类型
递交
题目
P2389 1.5.39:与7无关的数
语言
C++
递交时间
2022-01-31 10:09:17
评测时间
2022-01-31 10:09:17
评测机
分数
100
总耗时
10ms
峰值内存
384.0 KiB