結果

問題 No.3379 Third Max (C++)
コンテスト
ユーザー 👑 p-adic
提出日時 2025-12-07 16:00:06
言語 C++17
(gcc 13.3.0 + boost 1.89.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 111 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 1,670 ms
コンパイル使用メモリ 194,480 KB
実行使用メモリ 7,848 KB
スコア 82
最終ジャッジ日時 2025-12-07 16:00:10
合計ジャッジ時間 3,301 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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:13: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
    2 | int i,A[10];main(){while(i<10)std::cin>>A[i++];std::sort(A,A+10);std::cout<<A[7]<<"\n";}
      |             ^~~~

ソースコード

diff #
raw source code

#import"bits/stdc++.h"
int i,A[10];main(){while(i<10)std::cin>>A[i++];std::sort(A,A+10);std::cout<<A[7]<<"\n";}
0