Submission #235298
Source Code Expand
s = gets.strip.chomp puts s[(gets.to_i - 1) % (s.size - 1)]
Submission Info
Submission Time | |
---|---|
Task | B - とても長い文字列 |
User | yantene |
Language | Ruby (1.9.3) |
Score | 0 |
Code Size | 60 Byte |
Status | WA |
Exec Time | 59 ms |
Memory | 4220 KB |
Judge Result
Set Name | sub | All | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Score / Max Score | 0 / 30 | 0 / 70 | ||||||||||||
Status |
|
|
Set Name | Test Cases |
---|---|
sub | test_01A.txt, test_02A.txt, test_04A.txt, test_05A.txt, test_07A.txt, test_09A.txt, test_11A.txt, test_13A.txt, test_14A.txt, test_15A.txt, test_17A.txt, test_18A.txt |
All | test_01A.txt, test_02A.txt, test_03.txt, test_04A.txt, test_05A.txt, test_06.txt, test_07A.txt, test_08.txt, test_09A.txt, test_10.txt, test_11A.txt, test_12.txt, test_13A.txt, test_14A.txt, test_15A.txt, test_16.txt, test_17A.txt, test_18A.txt, sample_01.txt, sample_02.txt, sample_03.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
sample_01.txt | AC | 50 ms | 4200 KB |
sample_02.txt | AC | 49 ms | 4220 KB |
sample_03.txt | WA | 48 ms | 4208 KB |
test_01A.txt | RE | 49 ms | 4084 KB |
test_02A.txt | RE | 47 ms | 4076 KB |
test_03.txt | RE | 49 ms | 4080 KB |
test_04A.txt | AC | 50 ms | 4200 KB |
test_05A.txt | AC | 50 ms | 4080 KB |
test_06.txt | AC | 47 ms | 4080 KB |
test_07A.txt | WA | 53 ms | 4204 KB |
test_08.txt | WA | 50 ms | 4176 KB |
test_09A.txt | WA | 59 ms | 4080 KB |
test_10.txt | WA | 51 ms | 4192 KB |
test_11A.txt | WA | 50 ms | 4204 KB |
test_12.txt | AC | 49 ms | 4080 KB |
test_13A.txt | RE | 51 ms | 4080 KB |
test_14A.txt | AC | 50 ms | 4168 KB |
test_15A.txt | WA | 51 ms | 4204 KB |
test_16.txt | WA | 50 ms | 4204 KB |
test_17A.txt | WA | 49 ms | 4200 KB |
test_18A.txt | AC | 50 ms | 4204 KB |