Submission #1474758
Source Code Expand
@s=<>=~/./g; $\=100; for$a(a..z){ $c=0; for(@t=@s;grep!/$a/,@t;pop@t){ for$i(0..$#t-1){ if($t[$i+1]eq$a){ $t[$i]=$a } } ++$c } $\-=$-=$\-$c } print
Submission Info
Submission Time | |
---|---|
Task | A - Shrinking |
User | x20 |
Language | Perl (v5.18.2) |
Score | 300 |
Code Size | 183 Byte |
Status | AC |
Exec Time | 33 ms |
Memory | 512 KB |
Compile Error
Unquoted string "a" may clash with future reserved word at ./Main.pl line 3. Unquoted string "z" may clash with future reserved word at ./Main.pl line 3. ./Main.pl syntax OK
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 300 / 300 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | 0_00.txt, 0_01.txt, 0_02.txt, 0_03.txt |
All | 0_00.txt, 0_01.txt, 0_02.txt, 0_03.txt, 1_00.txt, 1_01.txt, 1_02.txt, 1_03.txt, 1_04.txt, 1_05.txt, 1_06.txt, 1_07.txt, 1_08.txt, 1_09.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
0_00.txt | AC | 3 ms | 512 KB |
0_01.txt | AC | 2 ms | 384 KB |
0_02.txt | AC | 2 ms | 384 KB |
0_03.txt | AC | 4 ms | 384 KB |
1_00.txt | AC | 2 ms | 384 KB |
1_01.txt | AC | 33 ms | 512 KB |
1_02.txt | AC | 30 ms | 512 KB |
1_03.txt | AC | 25 ms | 512 KB |
1_04.txt | AC | 26 ms | 512 KB |
1_05.txt | AC | 21 ms | 512 KB |
1_06.txt | AC | 23 ms | 512 KB |
1_07.txt | AC | 16 ms | 512 KB |
1_08.txt | AC | 29 ms | 512 KB |
1_09.txt | AC | 28 ms | 512 KB |