记录详情

Accepted

/in/foo.cc: In function 'int simplify(int, int)':
/in/foo.cc:86:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'int fenmu(int*, int)':
/in/foo.cc:61:7: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
 b[i+1]=r;
 ~~~~~~^~
/in/foo.cc: In function 'int simplify(int, int)':
/in/foo.cc:84:7: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized]
 printf("%d %d",m/j,s/j);//分数约分
 ~~~~~~^~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 216.0 KiB
#2 Accepted 1ms 228.0 KiB
#3 Accepted 1ms 228.0 KiB
#4 Accepted 1ms 228.0 KiB
#5 Accepted 1ms 216.0 KiB

信息

递交者
类型
递交
题目
A6-3 最大公约数专题:多个分数的加法
语言
C++
递交时间
2021-02-01 12:42:23
评测时间
2021-02-01 12:42:23
评测机
分数
100
总耗时
6ms
峰值内存
228.0 KiB