记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:35:18: warning: 'b' may be used uninitialized [-Wmaybe-uninitialized]
   35 |         cout<<b<<" "<<a<<endl;
      |                  ^~~
foo.cc:23:21: note: 'b' was declared here
   23 |         int n,b1,b2,b,a1,a2,a;
      |                     ^
foo.cc:35:23: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized]
   35 |         cout<<b<<" "<<a<<endl;
      |                       ^
foo.cc:23:29: note: 'a' was declared here
   23 |         int n,b1,b2,b,a1,a2,a;
      |                             ^
# 状态 耗时 内存占用
#1 Accepted 2ms 536.0 KiB
#2 Accepted 3ms 324.0 KiB
#3 Accepted 2ms 536.0 KiB
#4 Accepted 2ms 536.0 KiB
#5 Accepted 2ms 320.0 KiB

信息

递交者
类型
递交
题目
A6-3 最大公约数专题:多个分数的加法
比赛
2024-3-15 信息教师练习赛(2)
语言
C++
递交时间
2024-03-19 09:04:48
评测时间
2024-03-19 09:04:48
评测机
分数
100
总耗时
14ms
峰值内存
536.0 KiB