记录详情

Accepted

foo.c: In function 'main':
foo.c:4:17: warning: unused variable 'x1' [-Wunused-variable]
   int n,num=0,x,x1;
                 ^~
foo.c:5:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&n);
   ^~~~~~~~~~~~~~
foo.c:9:8: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
   while(x1<x)
        ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 0ms 256.0 KiB
#2 Accepted 0ms 256.0 KiB
#3 Accepted 0ms 288.0 KiB
#4 Accepted 19ms 280.0 KiB
#5 Accepted 70ms 300.0 KiB

信息

递交者
类型
递交
比赛
2021年新生赛第一场
语言
C
递交时间
2021-08-15 18:57:11
评测时间
2021-08-15 18:57:11
评测机
分数
100
总耗时
92ms
峰值内存
300.0 KiB