結果
問題 | No.8042 本棚 |
ユーザー |
![]() |
提出日時 | 2019-04-01 22:26:08 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 178 bytes |
コンパイル時間 | 1,898 ms |
コンパイル使用メモリ | 173,320 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-27 03:22:47 |
合計ジャッジ時間 | 6,321 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 24 |
ソースコード
#include <bits/stdc++.h>using namespace std;int N;string s[109];int main(){cin >> N;getline(cin,s[0]);while(N--)getline(cin,s[N]);sort(s,s+N);while(s[N]!="")cout<<s[N++]<<'\n';}