Accepted

/in/foo.cc: In function 'int cfgs(int)':
/in/foo.cc:26:1: warning: no return statement in function returning non-void [-Wreturn-type]
 } 
 ^
/in/foo.cc: In function 'int cfsl(int)':
/in/foo.cc:9:35: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized]
         if(int (j)==j&&j>=i) cnt++;
                                   ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:9:35: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized]
         if(int (j)==j&&j>=i) cnt++;
                                   ^
/in/foo.cc:5:6: note: 'cnt' was declared here
  int cnt;
      ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 208.0 KiB
#2 Accepted 1ms 220.0 KiB
#3 Accepted 1ms 216.0 KiB
#4 Accepted 1ms 224.0 KiB
#5 Accepted 1ms 216.0 KiB
#6 Accepted 1ms 220.0 KiB
#7 Accepted 1ms 216.0 KiB
#8 Accepted 1ms 224.0 KiB
#9 Accepted 1ms 216.0 KiB

信息

递交者
类型
递交
题目
P1737 分数拆分
比赛
2021.5.26本周数组练习(学校社团专练)
语言
C++
递交时间
2021-06-01 18:09:11
评测时间
2021-06-01 18:09:11
评测机
分数
100
总耗时
12ms
峰值内存
224.0 KiB