/ Vijos /

记录详情

Wrong Answer

foo.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int]
 main()
 ^~~~
foo.c: In function 'main':
foo.c:22:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
        if (dis1>0 && dis2>0)
           ^
foo.c:14: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:15:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%ld",&num);
  ^~~~~~~~~~~~~~~~~
foo.c:17:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d%d",&x[i],&y[i]);
     ^~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:38:5: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized]
  if (j==1)
     ^
正在同步测试数据,请稍后
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 1ms 1.0 MiB
#2 Accepted 1ms 1.0 MiB
#3 Accepted 1ms 1.0 MiB
#4 Accepted 1ms 1.0 MiB
#5 Accepted 1ms 1.0 MiB
#6 Wrong Answer Read 2527066, expect 2951397. 1ms 1.0 MiB
#7 Accepted 1ms 1.0 MiB
#8 Wrong Answer Read 110883, expect 159332. 16ms 1.695 MiB
#9 Wrong Answer Read 4132826, expect 3725790. 17ms 1.816 MiB
#10 Wrong Answer Read 119611, expect 142315. 17ms 1.809 MiB

信息

递交者
类型
递交
题目
P1810 导弹拦截
语言
C
递交时间
2021-04-05 13:58:39
评测时间
2021-04-05 13:58:39
评测机
分数
60
总耗时
62ms
峰值内存
1.816 MiB