记录详情

Runtime Error

foo.c: In function 'any':
foo.c:40:21: warning: variable 'ans' set but not used [-Wunused-but-set-variable]
   40 |                 int ans;
      |                     ^~~
foo.c:51:16: warning: 'ans' is used uninitialized [-Wuninitialized]
   51 |         return ans;
      |                ^~~
foo.c:36:13: note: 'ans' was declared here
   36 |         int ans;
      |             ^~~
foo.c: In function 'count':
foo.c:32:16: warning: 'cnt' may be used uninitialized [-Wmaybe-uninitialized]
   32 |         return cnt;
      |                ^~~
foo.c:21:13: note: 'cnt' was declared here
   21 |         int cnt;
      |             ^~~
foo.c: In function 'main':
foo.c:87:25: warning: 'cnt' may be used uninitialized [-Wmaybe-uninitialized]
   87 |                         printf("%d\n",a);
      |                         ^~~~~~~~~~~~~~~~
foo.c:21:13: note: 'cnt' was declared here
   21 |         int cnt;
      |             ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Floating point exception 2ms 284.0 KiB
#2 Runtime Error Floating point exception 2ms 284.0 KiB
#3 Runtime Error Floating point exception 2ms 284.0 KiB
#4 Runtime Error Floating point exception 1ms 284.0 KiB
#5 Runtime Error Floating point exception 2ms 284.0 KiB
#6 Runtime Error Floating point exception 2ms 284.0 KiB
#7 Runtime Error Floating point exception 2ms 284.0 KiB
#8 Runtime Error Floating point exception 1ms 284.0 KiB
#9 Runtime Error Floating point exception 2ms 284.0 KiB
#10 Runtime Error Floating point exception 2ms 284.0 KiB
#11 Runtime Error Floating point exception 2ms 284.0 KiB
#12 Runtime Error Floating point exception 2ms 284.0 KiB
#13 Runtime Error Floating point exception 2ms 284.0 KiB
#14 Runtime Error Floating point exception 2ms 284.0 KiB
#15 Runtime Error Floating point exception 2ms 284.0 KiB
#16 Runtime Error Floating point exception 2ms 284.0 KiB
#17 Runtime Error Floating point exception 2ms 284.0 KiB
#18 Runtime Error Floating point exception 2ms 284.0 KiB
#19 Runtime Error Floating point exception 2ms 284.0 KiB
#20 Wrong Answer Read YES, expect NO. 1ms 284.0 KiB

信息

递交者
类型
递交
题目
P1495 Problem 1D. 模拟bitset
比赛
2023秋 悬赏令第一周
语言
C
递交时间
2023-10-07 22:56:26
评测时间
2023-10-07 22:56:26
评测机
分数
0
总耗时
45ms
峰值内存
284.0 KiB