結果
| 問題 |
No.8042 本棚
|
| コンテスト | |
| ユーザー |
square1001
|
| 提出日時 | 2019-04-01 22:29:40 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 159 bytes |
| コンパイル時間 | 1,821 ms |
| コンパイル使用メモリ | 174,572 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-06-28 01:53:00 |
| 合計ジャッジ時間 | 2,749 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 24 |
ソースコード
#include <bits/stdc++.h>
using namespace std;int N,i;string s[109];int main(){for(cin>>N,i=N+1;i--;)getline(cin,s[i]);for(sort(s,s+N);i<N;)cout<<s[++i]<<'\n';}
square1001