結果
| 問題 |
No.8042 本棚
|
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2022-08-14 15:20:16 |
| 言語 | C++17(gcc12) (gcc 12.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 211 bytes |
| コンパイル時間 | 898 ms |
| コンパイル使用メモリ | 78,336 KB |
| 最終ジャッジ日時 | 2025-01-30 22:30:30 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 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;N++;string S[N];F G(i);sort(S,S+N);F cout<<S[i]<<endl;return 0;}