/ Vijos /

记录详情

Wrong Answer

foo.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int]
 main()
 ^~~~
foo.c: In function 'main':
foo.c:23:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
        if (dis1>0 && dis2>0)
           ^
foo.c:15:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d%d%d",&x1,&y1,&x2,&y2);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:16:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%ld",&num);
  ^~~~~~~~~~~~~~~~~
foo.c:18:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d%d",&x[i],&y[i]);
     ^~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:35:5: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized]
  if (j==1)
     ^
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 0ms 256.0 KiB
#2 Accepted 0ms 256.0 KiB
#3 Accepted 0ms 256.0 KiB
#4 Accepted 0ms 256.0 KiB
#5 Accepted 1ms 256.0 KiB
#6 Wrong Answer Read 2969891, expect 2951397. 0ms 256.0 KiB
#7 Accepted 1ms 256.0 KiB
#8 Wrong Answer Read 191843, expect 159332. 17ms 1.031 MiB
#9 Wrong Answer Read 4589265, expect 3725790. 17ms 988.0 KiB
#10 Accepted 17ms 1012.0 KiB

信息

递交者
类型
递交
题目
P1810 导弹拦截
语言
C
递交时间
2021-04-05 14:13:47
评测时间
2021-04-05 14:13:47
评测机
分数
70
总耗时
59ms
峰值内存
1.031 MiB