結果
| 問題 |
No.8042 本棚
|
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2022-08-14 15:12:43 |
| 言語 | C++17(gcc12) (gcc 12.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 212 bytes |
| コンパイル時間 | 1,185 ms |
| コンパイル使用メモリ | 78,008 KB |
| 最終ジャッジ日時 | 2025-01-30 22:30:25 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 24 |
ソースコード
#include <iostream>
#include <algorithm>
#define F for(int i=0;i<N;i++)
#define G(i) getline(cin,S[i])
using namespace std;int main(){int N;cin>>N;string S[N];G(0);F G(i);sort(S,S+N);F cout<<S[i]<<endl;return 0;}