結果
| 問題 | No.8042 本棚 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-08-14 15:12:43 |
| 言語 | C++17(gcc12) (gcc 12.4.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 212 bytes |
| 記録 | |
| コンパイル時間 | 959 ms |
| コンパイル使用メモリ | 80,340 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-06-27 01:29:27 |
| 合計ジャッジ時間 | 2,507 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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;}