记录详情

Wrong Answer

foo.cc: In function ‘int maxy(int, int)’:
foo.cc:17:16: warning: ‘maxy’ may be used uninitialized [-Wmaybe-uninitialized]
   17 |         return maxy;
      |                ^~~~
foo.cc:7:18: note: ‘maxy’ was declared here
    7 |         int max, maxy;
      |                  ^~~~
foo.cc: In function ‘int main()’:
foo.cc:45:12: warning: ‘maxy’ may be used uninitialized [-Wmaybe-uninitialized]
   45 |         b0 = b0 / gys;
      |         ~~~^~~~~~~~~~
foo.cc:7:18: note: ‘maxy’ was declared here
    7 |         int max, maxy;
      |                  ^~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 536.0 KiB
#2 Accepted 2ms 536.0 KiB
#3 Accepted 2ms 552.0 KiB
#4 Accepted 3ms 324.0 KiB
#5 Wrong Answer Read 0, expect 89. 3ms 536.0 KiB

信息

递交者
类型
递交
题目
A6-2 最大公约数专题:分数的加法
比赛
2024程序设计与竞赛作业赛第一场(喜相逢)
语言
C++
递交时间
2024-09-27 20:55:29
评测时间
2024-09-27 20:55:29
评测机
分数
80
总耗时
14ms
峰值内存
552.0 KiB