Time Exceeded

/in/foo.cc: In function 'int count(int)':
/in/foo.cc:12:5: warning: statement has no effect [-Wunused-value]
    n/10; 
    ~^~~
/in/foo.cc:15:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'int total(int, int)':
/in/foo.cc:24:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:27:10: warning: unused variable 'sum' [-Wunused-variable]
  int A,B,sum=0,i;
          ^~~
/in/foo.cc:27:16: warning: unused variable 'i' [-Wunused-variable]
  int A,B,sum=0,i;
                ^
# 状态 耗时 内存占用
#1 Time Exceeded ≥1003ms ≥376.0 KiB
#2 Time Exceeded ≥1003ms ≥376.0 KiB

信息

递交者
类型
递交
题目
P1119 数字3出现的次数
语言
C++
递交时间
2021-12-05 18:08:33
评测时间
2021-12-05 18:08:33
评测机
分数
0
总耗时
≥2006ms
峰值内存
≥376.0 KiB