Accepted

/in/foo.cc: In function 'int myprintf(int, int)':
/in/foo.cc:62:1: warning: no return statement in function returning non-void [-Wreturn-type]
 } 
 ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:65:10: warning: unused variable 'i' [-Wunused-variable]
  int A,B,i,sum=0;
          ^
/in/foo.cc:65:12: warning: unused variable 'sum' [-Wunused-variable]
  int A,B,i,sum=0;
            ^~~
/in/foo.cc: In function 'int myprintf(int, int)':
/in/foo.cc:55:12: warning: 'num' may be used uninitialized in this function [-Wmaybe-uninitialized]
       num++;
            ^
# 状态 耗时 内存占用
#1 Accepted 2ms 352.0 KiB
#2 Accepted 2ms 356.0 KiB

信息

递交者
类型
递交
题目
P1120 出现数字3的数
语言
C++
递交时间
2021-12-05 17:02:40
评测时间
2021-12-05 17:02:40
评测机
分数
100
总耗时
4ms
峰值内存
356.0 KiB