結果

問題 No.3379 Third Max (C++)
コンテスト
ユーザー alcea
提出日時 2025-11-10 03:52:33
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 103 bytes
コンパイル時間 1,847 ms
コンパイル使用メモリ 194,248 KB
実行使用メモリ 7,848 KB
最終ジャッジ日時 2025-11-22 12:30:10
合計ジャッジ時間 3,359 ms
ジャッジサーバーID
(参考情報)
judge1 / 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:11: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
    2 | int a[10];main(){for(int&b:a)std::cin>>b;std::sort(a,a+10);printf("%d\n",a[7]);}
      |           ^~~~

ソースコード

diff #
raw source code

#import<bits/stdc++.h>
int a[10];main(){for(int&b:a)std::cin>>b;std::sort(a,a+10);printf("%d\n",a[7]);}
0