結果
| 問題 | No.8042 本棚 |
| コンテスト | |
| ユーザー |
chocopuu
|
| 提出日時 | 2019-04-02 03:11:18 |
| 言語 | C++14 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 139 bytes |
| 記録 | |
| コンパイル時間 | 1,045 ms |
| コンパイル使用メモリ | 190,044 KB |
| 実行使用メモリ | 9,908 KB |
| 最終ジャッジ日時 | 2026-09-30 20:09:54 |
| 合計ジャッジ時間 | 2,549 ms |
|
ジャッジサーバーID (参考情報) |
judge4_1 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 24 |
コンパイルメッセージ
main.cpp:1:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated]
1 | #import<bits/stdc++.h>
| ^~~~~~
main.cpp:2:30: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
2 | using namespace std;string s;main(){cin>>s;set<string>a;while(getline(cin,s))a.insert(s+"\n");for(auto e:a)cout<<e;}
| ^~~~
ソースコード
#import<bits/stdc++.h>
using namespace std;string s;main(){cin>>s;set<string>a;while(getline(cin,s))a.insert(s+"\n");for(auto e:a)cout<<e;}
chocopuu