Submission #4235954
Source Code Expand
n=int(input());amin='';bmin='';aamin=10000000000000;bbmin=100000000000000 for i in range(0,n): s=input() if chr(s)>aamin && chr(s)<bbmin: bbmin=chr(s) bmin=s elif chr(s)<aamin && chr(s)<bbmin: bbmin=aamin bmin=amin aamin=chr(s) amin=s print(amin+bmin)
Submission Info
Submission Time | |
---|---|
Task | B - パスワード |
User | luogu_bot3 |
Language | Python (3.4.3) |
Score | 0 |
Code Size | 311 Byte |
Status | RE |
Exec Time | 17 ms |
Memory | 2940 KB |
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 0 / 100 | ||
Status |
|
Set Name | Test Cases |
---|---|
All | input_0.txt, input_1.txt, input_10.txt, input_11.txt, input_12.txt, input_13.txt, input_14.txt, input_15.txt, input_16.txt, input_17.txt, input_18.txt, input_19.txt, input_2.txt, input_20.txt, input_21.txt, input_22.txt, input_23.txt, input_3.txt, input_4.txt, input_5.txt, input_6.txt, input_7.txt, input_8.txt, input_9.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
input_0.txt | RE | 16 ms | 2940 KB |
input_1.txt | RE | 16 ms | 2940 KB |
input_10.txt | RE | 16 ms | 2940 KB |
input_11.txt | RE | 17 ms | 2940 KB |
input_12.txt | RE | 16 ms | 2940 KB |
input_13.txt | RE | 17 ms | 2940 KB |
input_14.txt | RE | 17 ms | 2940 KB |
input_15.txt | RE | 17 ms | 2940 KB |
input_16.txt | RE | 16 ms | 2940 KB |
input_17.txt | RE | 17 ms | 2940 KB |
input_18.txt | RE | 17 ms | 2940 KB |
input_19.txt | RE | 16 ms | 2940 KB |
input_2.txt | RE | 17 ms | 2940 KB |
input_20.txt | RE | 17 ms | 2940 KB |
input_21.txt | RE | 17 ms | 2940 KB |
input_22.txt | RE | 16 ms | 2940 KB |
input_23.txt | RE | 16 ms | 2940 KB |
input_3.txt | RE | 16 ms | 2940 KB |
input_4.txt | RE | 16 ms | 2940 KB |
input_5.txt | RE | 17 ms | 2940 KB |
input_6.txt | RE | 17 ms | 2940 KB |
input_7.txt | RE | 17 ms | 2940 KB |
input_8.txt | RE | 17 ms | 2940 KB |
input_9.txt | RE | 16 ms | 2940 KB |