結果
| 問題 |
No.3379 Third Max (C++)
|
| コンテスト | |
| ユーザー |
tails
|
| 提出日時 | 2025-11-22 14:55:39 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 88 bytes |
| コンパイル時間 | 1,780 ms |
| コンパイル使用メモリ | 194,628 KB |
| 実行使用メモリ | 7,716 KB |
| 最終ジャッジ日時 | 2025-11-22 14:55:43 |
| 合計ジャッジ時間 | 3,785 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge7 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 15 |
コンパイルメッセージ
main.cpp:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
1 | #import<bits/stdc++.h>
| ^~~~~~
main.cpp:2:1: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
2 | main(int,char*b){std::sort(b,b+read(0,b,19));b[17]=0;puts(b+16);}
| ^~~~
main.cpp:2:1: warning: second argument of ‘int main(int, char*)’ should be ‘char **’ [-Wmain]
ソースコード
#import<bits/stdc++.h>
main(int,char*b){std::sort(b,b+read(0,b,19));b[17]=0;puts(b+16);}
tails