Accepted

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

信息

递交者
类型
递交
题目
P1119 数字3出现的次数
语言
C++
递交时间
2021-12-12 11:20:36
评测时间
2021-12-12 11:20:36
评测机
分数
100
总耗时
5ms
峰值内存
384.0 KiB