結果
| 問題 | 
                            No.8042 本棚
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2019-04-01 23:54:19 | 
| 言語 | Python2  (2.7.18)  | 
                    
| 結果 | 
                             
                                RE
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 125 bytes | 
| コンパイル時間 | 88 ms | 
| コンパイル使用メモリ | 6,944 KB | 
| 実行使用メモリ | 6,824 KB | 
| 最終ジャッジ日時 | 2024-11-27 05:58:10 | 
| 合計ジャッジ時間 | 1,123 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | RE * 3 | 
| other | RE * 24 | 
ソースコード
n = int(raw_input())
s = [raw_input.split() for _ in xrange(n)]
s.sort(lambda x:x[1])
s.sort()
for a, b in s:
    print(a, b)