AtCoder Beginner Contest 013

Submission #6905780

Source codeソースコード

N=scanf(S="%d\n");A=1:N;for k=N(4:end)'A(k:k+1)*=~eye(2);end;printf(S,[~,i]=max(sparse(1:N,A,1)^N(3)))

Submission

Task問題 D - 阿弥陀
User nameユーザ名 hanada3355
Created time投稿日時
Language言語 Octave (4.0.2)
Status状態 TLE
Score得点 0
Source lengthソースコード長 102 Byte
File nameファイル名
Exec time実行時間 ms
Memory usageメモリ使用量 -

Test case

Set

Set name Score得点 / Max score Cases
Subtask1 0 / 10 sample_1.txt,01_i.txt,01_random01.txt,01_random02.txt,01_random03.txt,01_random04.txt,01_random05.txt,01_random06.txt,01_random07.txt
Subtask2 0 / 20 sample_1.txt,sample_2.txt,sample_3.txt,02_i.txt,02_p.txt,02_random01.txt,02_random02.txt,02_random03.txt,02_random04.txt,02_random05.txt,02_random06.txt,02_random07.txt,02_random08.txt,02_rp01.txt,02_rp02.txt,02_rp03.txt,02_rp04.txt,02_rp05.txt
Subtask3 0 / 20 sample_1.txt,sample_2.txt,03_i.txt,03_random01.txt,03_random02.txt,03_random03.txt,03_random04.txt,03_random05.txt,03_random06.txt,03_random07.txt,03_random08.txt,03_random09.txt,03_random10.txt,03_random11.txt,03_random12.txt,03_random13.txt,03_random14.txt,03_random15.txt
Subtask4 0 / 50 sample_1.txt,sample_2.txt,sample_3.txt,04_i.txt,04_p1.txt,04_p2.txt,04_random01.txt,04_random02.txt,04_random03.txt,04_random04.txt,04_random05.txt,04_random06.txt,04_random07.txt,04_random08.txt,04_random09.txt,04_random10.txt,04_random11.txt,04_random12.txt,04_random13.txt,04_rp01.txt,04_rp02.txt,04_rp03.txt,04_rp04.txt,04_rp05.txt,04_rp06.txt,04_rp07.txt,04_rp08.txt,04_rp09.txt,04_rp10.txt

Test case

Case name Status状態 Exec time実行時間 Memory usageメモリ使用量
01_i.txt TLE
01_random01.txt AC 165 ms 11172 KB
01_random02.txt AC 142 ms 9420 KB
01_random03.txt AC 142 ms 9420 KB
01_random04.txt AC 364 ms 9664 KB
01_random05.txt AC 1344 ms 20140 KB
01_random06.txt AC 3896 ms 19124 KB
01_random07.txt TLE
02_i.txt AC 190 ms 9664 KB
02_p.txt AC 165 ms 9420 KB
02_random01.txt AC 141 ms 9420 KB
02_random02.txt AC 141 ms 9420 KB
02_random03.txt AC 228 ms 9532 KB
02_random04.txt AC 146 ms 9420 KB
02_random05.txt AC 572 ms 9920 KB
02_random06.txt AC 2322 ms 11448 KB
02_random07.txt TLE
02_random08.txt TLE
02_rp01.txt AC 167 ms 9416 KB
02_rp02.txt AC 167 ms 9540 KB
02_rp03.txt AC 167 ms 9412 KB
02_rp04.txt AC 167 ms 9416 KB
02_rp05.txt AC 167 ms 9420 KB
03_i.txt AC 141 ms 9420 KB
03_random01.txt AC 510 ms 9924 KB
03_random02.txt TLE
03_random03.txt AC 3447 ms 12976 KB
03_random04.txt AC 3431 ms 13872 KB
03_random05.txt AC 787 ms 9920 KB
03_random06.txt AC 698 ms 9920 KB
03_random07.txt AC 1095 ms 10432 KB
03_random08.txt AC 200 ms 9416 KB
03_random09.txt AC 1351 ms 10556 KB
03_random10.txt AC 2319 ms 11452 KB
03_random11.txt AC 3967 ms 13108 KB
03_random12.txt AC 3990 ms 14388 KB
03_random13.txt AC 3288 ms 12856 KB
03_random14.txt AC 2646 ms 11576 KB
03_random15.txt AC 1072 ms 12216 KB
04_i.txt TLE
04_p1.txt AC 2981 ms 19124 KB
04_p2.txt AC 2386 ms 18996 KB
04_random01.txt AC 2719 ms 16696 KB
04_random02.txt AC 1462 ms 15676 KB
04_random03.txt AC 2398 ms 11448 KB
04_random04.txt TLE
04_random05.txt AC 3453 ms 12852 KB
04_random06.txt AC 2444 ms 17584 KB
04_random07.txt TLE
04_random08.txt AC 3890 ms 13616 KB
04_random09.txt TLE
04_random10.txt AC 1802 ms 15384 KB
04_random11.txt TLE
04_random12.txt TLE
04_random13.txt TLE
04_rp01.txt AC 2984 ms 19124 KB
04_rp02.txt AC 2980 ms 20532 KB
04_rp03.txt AC 3014 ms 20792 KB
04_rp04.txt AC 2986 ms 20532 KB
04_rp05.txt AC 3000 ms 19128 KB
04_rp06.txt AC 2977 ms 19124 KB
04_rp07.txt AC 3006 ms 19124 KB
04_rp08.txt AC 3006 ms 19124 KB
04_rp09.txt AC 2976 ms 19124 KB
04_rp10.txt AC 2983 ms 21172 KB
sample_1.txt AC 141 ms 9420 KB
sample_2.txt AC 141 ms 9412 KB
sample_3.txt AC 140 ms 9420 KB