/ 老祺 /

记录详情

Accepted

/in/foo.cc: In function 'int MIN(int, int)':
/in/foo.cc:25:9: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized]
 min = (x/max)*y; //x*y=min*max
       ~~^~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:25:9: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized]
 min = (x/max)*y; //x*y=min*max
       ~~^~~~~
/in/foo.cc:7:13: note: 'max' was declared here
 int i,z,min,max;
             ^~~
/in/foo.cc:25:9: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized]
 min = (x/max)*y; //x*y=min*max
       ~~^~~~~
/in/foo.cc:7:13: note: 'max' was declared here
 int i,z,min,max;
             ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 212.0 KiB
#2 Accepted 1ms 216.0 KiB
#3 Accepted 1ms 220.0 KiB
#4 Accepted 1ms 220.0 KiB
#5 Accepted 1ms 224.0 KiB

信息

递交者
类型
递交
题目
P1030 5-4 最小公倍数
比赛
娱乐赛
语言
C++
递交时间
2021-05-23 12:37:32
评测时间
2021-05-23 12:37:32
评测机
分数
100
总耗时
8ms
峰值内存
224.0 KiB