记录详情

Accepted

/in/foo.c: In function 'main':
/in/foo.c:26:5: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized]
   26 |     printf("%d\n%d",b,c);
      |     ^~~~~~~~~~~~~~~~~~~~
/in/foo.c:17:13: note: 'c' was declared here
   17 |         int c,d;
      |             ^
/in/foo.c:26:5: warning: 'b' may be used uninitialized [-Wmaybe-uninitialized]
   26 |     printf("%d\n%d",b,c);
      |     ^~~~~~~~~~~~~~~~~~~~
/in/foo.c:6:15: note: 'b' was declared here
    6 |         int a,b,max;
      |               ^
# 状态 耗时 内存占用
#1 Accepted 1ms 284.0 KiB
#2 Accepted 4ms 416.0 KiB
#3 Accepted 1ms 428.0 KiB
#4 Accepted 3ms 424.0 KiB
#5 Accepted 18ms 420.0 KiB

信息

递交者
类型
递交
题目
A6-1 最大公约数专题:最大公约数和最小公倍数
比赛
2025年春 南师大《程序设计与竞赛》作业赛第二场
语言
C
递交时间
2025-03-15 13:33:23
评测时间
2025-03-15 13:33:23
评测机
分数
100
总耗时
28ms
峰值内存
428.0 KiB