結果

問題 No.2747 Permutation Adjacent Sum
ユーザー tailstails
提出日時 2024-04-27 15:11:29
言語 Perl
(5.38.2)
結果
AC  
実行時間 98 ms / 3,000 ms
コード長 2,535 bytes
コンパイル時間 5,268 ms
コンパイル使用メモリ 25,856 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-04-27 15:11:41
合計ジャッジ時間 8,101 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
外部呼び出し有り
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 34 ms
6,816 KB
testcase_01 AC 5 ms
6,944 KB
testcase_02 AC 22 ms
6,940 KB
testcase_03 AC 6 ms
6,940 KB
testcase_04 AC 38 ms
6,944 KB
testcase_05 AC 96 ms
6,940 KB
testcase_06 AC 43 ms
6,940 KB
testcase_07 AC 33 ms
6,944 KB
testcase_08 AC 56 ms
6,944 KB
testcase_09 AC 82 ms
6,940 KB
testcase_10 AC 11 ms
6,940 KB
testcase_11 AC 35 ms
6,944 KB
testcase_12 AC 4 ms
6,944 KB
testcase_13 AC 17 ms
6,944 KB
testcase_14 AC 51 ms
6,948 KB
testcase_15 AC 78 ms
6,940 KB
testcase_16 AC 35 ms
6,940 KB
testcase_17 AC 69 ms
6,944 KB
testcase_18 AC 69 ms
6,940 KB
testcase_19 AC 8 ms
6,944 KB
testcase_20 AC 36 ms
6,944 KB
testcase_21 AC 55 ms
6,944 KB
testcase_22 AC 59 ms
6,944 KB
testcase_23 AC 28 ms
6,944 KB
testcase_24 AC 29 ms
6,940 KB
testcase_25 AC 21 ms
6,944 KB
testcase_26 AC 48 ms
6,944 KB
testcase_27 AC 59 ms
6,940 KB
testcase_28 AC 53 ms
6,944 KB
testcase_29 AC 36 ms
6,940 KB
testcase_30 AC 98 ms
6,940 KB
testcase_31 AC 95 ms
6,940 KB
testcase_32 AC 95 ms
6,940 KB
testcase_33 AC 94 ms
6,944 KB
testcase_34 AC 98 ms
6,944 KB
testcase_35 AC 3 ms
6,944 KB
testcase_36 AC 3 ms
6,944 KB
testcase_37 AC 3 ms
6,944 KB
testcase_38 AC 3 ms
6,944 KB
testcase_39 AC 3 ms
6,944 KB
testcase_40 AC 3 ms
6,940 KB
testcase_41 AC 3 ms
6,944 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
a.c: In function ‘f0’:
a.c:20:16: warning: implicit declaration of function ‘creat’ [-Wimplicit-function-declaration]
   20 |         int fd=creat("f",0777);
      |                ^~~~~
a.c:21:9: warning: implicit declaration of function ‘write’ [-Wimplicit-function-declaration]
   21 |         write(fd,f8,sizeof f8);
      |         ^~~~~
a.c: In function ‘main’:
a.c:42:17: warning: implicit declaration of function ‘_exit’ [-Wimplicit-function-declaration]
   42 |                 _exit(0);
      |                 ^~~~~
a.c:42:17: warning: incompatible implicit declaration of built-in function ‘_exit’ [-Wbuiltin-declaration-mismatch]
a.c:47:17: warning: implicit declaration of function ‘read’ [-Wimplicit-function-declaration]
   47 |                 read(0,rbuf,sizeof rbuf);
      |                 ^~~~
a.c:103:24: warning: implicit declaration of function ‘open’ [-Wimplicit-function-declaration]
  103 |                 int fd=open("f",0);
      |                        ^~~~
a.c:105:17: warning: implicit declaration of function ‘pread’ [-Wimplicit-function-declaration]
  105 |                 pread(fd,&f,4,n-1>>8<<2);
      |                 ^~~~~
a.c:114:9: warning: incompatible implicit declaration of built-in function ‘_exit’ [-Wbuiltin-declaration-mismatch]
  114 |         _exit(0);
      |         ^~~~~

ソースコード

diff #

CHECK{$^C&&eval unpack"u*",<<''}exec"./tmp"
M;W!E;BA&+"(^(BPB82YC(BD[<V5L96-T*$8I.W!R:6YT*#P\)RTM+2<I.V-L
M;W-E*$8I.V5X96,H(F=C8R`M3V9A<W0@+6UA=G@R(&$N8R`M;R!T;7`[+B]T
M;7`@,"(I.PHC9&5F:6YE(')D*"D@*'MI;G0@7W8],"Q?8SMW:&EL92A?8STJ
M<G`K*RTT."Q?8SX],"E?=CU?=BHQ,"M?8SM?=CM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