记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:9:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
    9 |    for(int i=0;i<=n-1;i++)
      |    ^~~
foo.c:11:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   11 |      sort(a,n);
      |      ^~~~
foo.c:19:17: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration]
   19 |        {sum=sum+abs(a[p]-nx)+abs(b[p]-ny);
      |                 ^~~
foo.c:3:1: note: include '<stdlib.h>' or provide a declaration of 'abs'
    2 | #include<math.h>
  +++ |+#include <stdlib.h>
    3 | void sort(int M[],int N);
foo.c:6:8: warning: unused variable 'q' [-Wunused-variable]
    6 |  int p,q;
      |        ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 1,3d0 < 9 73 < 75 77 < 42 75 1ms 256.0 KiB
#2 Wrong Answer 1,3d0 < 22 33 < 62 80 < 42 56 1ms 256.0 KiB
#3 Wrong Answer 1,3d0 < 4 6 < 8 87 < 6 46 2ms 256.0 KiB
#4 Wrong Answer 1,3d0 < 30 10 < 67 79 < 48 44 2ms 256.0 KiB
#5 Wrong Answer 1,3d0 < 10 27 < 29 98 < 19 62 2ms 256.0 KiB
#6 Wrong Answer 1,3d0 < 52 46 < 86 52 < 69 49 2ms 256.0 KiB
#7 Wrong Answer 1,3d0 < 34 6 < 90 99 < 62 52 2ms 256.0 KiB
#8 Wrong Answer 1,3d0 < 29 54 < 69 83 < 49 68 2ms 256.0 KiB
#9 Wrong Answer 1,3d0 < 2 4 < 5 60 < 3 32 1ms 256.0 KiB
#10 Wrong Answer 1,3d0 < 25 35 < 67 61 < 46 48 1ms 256.0 KiB
#11 Wrong Answer 1,3d0 < 81 28 < 83 99 < 82 63 1ms 256.0 KiB
#12 Wrong Answer 1,3d0 < 6 5 < 36 87 < 21 46 2ms 256.0 KiB
#13 Wrong Answer 1,3d0 < 36 27 < 68 28 < 52 27 2ms 256.0 KiB
#14 Wrong Answer 1,3d0 < 14 27 < 66 50 < 40 38 1ms 256.0 KiB
#15 Wrong Answer 1,3d0 < 5 23 < 46 52 < 25 37 1ms 256.0 KiB
#16 Wrong Answer 1,3d0 < 20 26 < 50 93 < 35 59 1ms 256.0 KiB
#17 Wrong Answer 1,3d0 < 44 16 < 95 16 < 69 16 2ms 256.0 KiB
#18 Wrong Answer 1,3d0 < 31 29 < 79 63 < 55 46 1ms 256.0 KiB
#19 Wrong Answer 1,3d0 < 16 6 < 29 40 < 22 23 2ms 256.0 KiB
#20 Wrong Answer 1,3d0 < 64 2 < 100 87 < 82 44 1ms 256.0 KiB
#21 Wrong Answer 1,3d0 < 42 14 < 89 72 < 65 43 1ms 256.0 KiB
#22 Wrong Answer 1,3d0 < 57 1 < 82 82 < 69 41 1ms 256.0 KiB
#23 Wrong Answer 1,3d0 < 24 40 < 89 52 < 56 46 1ms 256.0 KiB
#24 Wrong Answer 1,3d0 < 22 83 < 64 85 < 43 84 2ms 256.0 KiB
#25 Wrong Answer 1,3d0 < 41 28 < 46 39 < 43 33 1ms 256.0 KiB
#26 Wrong Answer 1,3d0 < 62 87 < 63 95 < 62 91 1ms 256.0 KiB
#27 Wrong Answer 1,3d0 < 66 21 < 70 35 < 68 28 2ms 256.0 KiB
#28 Wrong Answer 1,3d0 < 38 45 < 76 73 < 57 59 1ms 256.0 KiB
#29 Wrong Answer 1,3d0 < 32 38 < 48 60 < 40 49 3ms 256.0 KiB
#30 Wrong Answer 1,3d0 < 48 4 < 49 4 < 48 4 2ms 256.0 KiB
#31 Wrong Answer 1,71d0 < 2 6 < 2 7 < 3 8 < 4 8 2ms 256.0 KiB
#32 Wrong Answer 1,95d0 < 1 2 < 2 2 < 3 3 < 3 3 1ms 256.0 KiB
#33 Wrong Answer 1,65d0 < 2 1 < 3 2 < 5 2 < 6 5 1ms 256.0 KiB
#34 Wrong Answer 1,13d0 < 7 4 < 16 8 < 27 11 < 1ms 256.0 KiB
#35 Wrong Answer 1,25d0 < 4 2 < 7 3 < 7 4 < 10 2ms 256.0 KiB
#36 Wrong Answer 1,92d0 < 1 2 < 2 2 < 4 3 < 5 3 2ms 256.0 KiB
#37 Wrong Answer 1,9d0 < 16 4 < 16 14 < 40 16 < 2ms 256.0 KiB
#38 Wrong Answer 1,89d0 < 3 2 < 3 2 < 4 4 < 4 4 1ms 256.0 KiB
#39 Wrong Answer 1,36d0 < 1 3 < 4 4 < 5 5 < 8 1 2ms 256.0 KiB
#40 Wrong Answer 1,17d0 < 13 20 < 18 22 < 20 28 2ms 256.0 KiB
#41 Wrong Answer 1,72d0 < 1 1 < 1 3 < 7 4 < 10 1ms 256.0 KiB
#42 Wrong Answer 1,66d0 < 1 4 < 3 10 < 3 13 < 4 1ms 256.0 KiB
#43 Wrong Answer 1,73d0 < 1 3 < 2 4 < 3 4 < 5 5 1ms 256.0 KiB
#44 Wrong Answer 1,29d0 < 1 3 < 5 14 < 12 19 < 1ms 256.0 KiB
#45 Wrong Answer 1,69d0 < 1 2 < 2 6 < 2 6 < 3 9 2ms 256.0 KiB
#46 Wrong Answer 1,47d0 < 3 3 < 4 8 < 4 8 < 10 2ms 256.0 KiB
#47 Wrong Answer 1,29d0 < 8 1 < 10 10 < 11 15 < 1ms 256.0 KiB
#48 Wrong Answer 1,50d0 < 1 2 < 6 2 < 6 5 < 8 5 1ms 256.0 KiB
#49 Wrong Answer 1,38d0 < 2 1 < 2 4 < 3 6 < 8 7 2ms 256.0 KiB
#50 Wrong Answer 1,48d0 < 1 1 < 10 2 < 10 3 < 1 1ms 256.0 KiB
#51 Wrong Answer 1,32d0 < 3 3 < 10 12 < 11 12 < 1ms 256.0 KiB
#52 Wrong Answer 1,30d0 < 3 10 < 5 10 < 9 20 < 1ms 256.0 KiB
#53 Wrong Answer 1,78d0 < 1 4 < 1 4 < 2 7 < 2 7 2ms 256.0 KiB
#54 Wrong Answer 1,99d0 < 1 1 < 2 1 < 3 1 < 4 2 2ms 256.0 KiB
#55 Wrong Answer 1,92d0 < 2 1 < 4 3 < 5 5 < 8 7 2ms 252.0 KiB
#56 Wrong Answer 1,87d0 < 1 4 < 1 6 < 2 6 < 6 8 2ms 256.0 KiB
#57 Wrong Answer 1,67d0 < 2 1 < 9 1 < 9 4 < 10 3ms 256.0 KiB
#58 Wrong Answer 1,96d0 < 2 3 < 2 4 < 3 4 < 3 6 2ms 256.0 KiB
#59 Wrong Answer 1,51d0 < 2 1 < 3 6 < 5 8 < 5 9 2ms 256.0 KiB
#60 Wrong Answer 1,24d0 < 2 7 < 6 9 < 12 9 < 15 2ms 256.0 KiB

信息

递交者
类型
递交
题目
P1389 Problem 1A. 中秋月饼
比赛
悬赏令第一周
语言
C
递交时间
2022-09-27 19:58:31
评测时间
2022-09-27 19:58:31
评测机
分数
0
总耗时
124ms
峰值内存
256.0 KiB