結果

問題 No.3379 Third Max (C++)
コンテスト
ユーザー Ojun
提出日時 2026-05-16 01:08:36
言語 C++17
(gcc 15.2.0 + boost 1.89.0)
コンパイル:
g++-15 -O2 -lm -std=c++17 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_
実行:
./a.out
結果
RE  
実行時間 -
コード長 93 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 4,916 ms
コンパイル使用メモリ 160,064 KB
実行使用メモリ 7,976 KB
スコア 0
最終ジャッジ日時 2026-05-16 01:08:52
合計ジャッジ時間 15,043 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 3
other RE * 15
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp:1:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated]
    1 | #import<atcoder/all>
      |  ^~~~~~
main.cpp:2:12: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    2 | char c[99];main(){fgets(c,19,0);std::sort(c,c+19);printf("%c\n",c[16]);}
      |            ^~~~

ソースコード

diff #
raw source code

#import<atcoder/all>
char c[99];main(){fgets(c,19,0);std::sort(c,c+19);printf("%c\n",c[16]);}
0