/ Vijos /

记录详情

Wrong Answer

foo.c: In function 'charge':
foo.c:34:15: warning: 'return' with a value, in function returning void [-Wreturn-type]
   34 |         return("Yes\n");
      |               ^
foo.c:30:6: note: declared here
   30 | void charge(int x,int y)
      |      ^~~~~~
foo.c:38:15: warning: 'return' with a value, in function returning void [-Wreturn-type]
   38 |         return("No\n");
      |               ^
foo.c:30:6: note: declared here
   30 | void charge(int x,int y)
      |      ^~~~~~
foo.c: In function 'init':
foo.c:11:1: warning: control reaches end of non-void function [-Wreturn-type]
   11 | }
      | ^
foo.c: In function 'main':
foo.c:45:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   45 |     scanf("%d %d %d",&n,&m,&p);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:49:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   49 |         scanf("%d %d",&u,&v);
      |         ^~~~~~~~~~~~~~~~~~~~
foo.c:55:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   55 |         scanf("%d %d",&h,&l);
      |         ^~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 0a1,10 > Yes > Yes > Yes > 1ms 256.0 KiB
#2 Wrong Answer 0a1,20 > No > No > No > No 1ms 256.0 KiB
#3 Wrong Answer 0a1,15 > No > No > No > No 1ms 256.0 KiB
#4 Wrong Answer 0a1,80 > Yes > Yes > Yes > 1ms 256.0 KiB
#5 Wrong Answer 0a1,900 > Yes > No > No > Y 1ms 256.0 KiB
#6 Wrong Answer 0a1,1000 > Yes > No > No > 2ms 256.0 KiB
#7 Wrong Answer 0a1,3000 > Yes > No > No > 3ms 256.0 KiB
#8 Wrong Answer 0a1,4000 > Yes > No > Yes > 2ms 256.0 KiB
#9 Wrong Answer 0a1,5000 > No > Yes > Yes > 3ms 256.0 KiB
#10 Wrong Answer 0a1,5000 > Yes > Yes > Yes 3ms 256.0 KiB

信息

递交者
类型
递交
题目
P1034 家族
语言
C
递交时间
2022-03-19 19:28:47
评测时间
2022-03-19 19:28:47
评测机
分数
0
总耗时
23ms
峰值内存
256.0 KiB