记录详情

Accepted

foo.c: In function 'main':
foo.c:22:9: warning: 'num' may be used uninitialized [-Wmaybe-uninitialized]
   22 |         printf("%d",num);
      |         ^~~~~~~~~~~~~~~~
foo.c:10:19: note: 'num' was declared here
   10 |         int k,A,B,num;
      |                   ^~~
foo.c:18:34: warning: 'B' may be used uninitialized [-Wmaybe-uninitialized]
   18 |                                 B++;
      |                                 ~^~
foo.c:10:17: note: 'B' was declared here
   10 |         int k,A,B,num;
      |                 ^
foo.c:15:34: warning: 'A' may be used uninitialized [-Wmaybe-uninitialized]
   15 |                                 A++;
      |                                 ~^~
foo.c:10:15: note: 'A' was declared here
   10 |         int k,A,B,num;
      |               ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 284.0 KiB

信息

递交者
类型
自测
题目
P1510 Problem 2C. 云骑军队列
语言
C
递交时间
2023-10-18 20:26:22
评测时间
2023-10-18 20:26:22
评测机
分数
10
总耗时
2ms
峰值内存
284.0 KiB