結果

問題 No.3379 Third Max (C++)
コンテスト
ユーザー alcea
提出日時 2025-11-22 02:58:07
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 109 bytes
コンパイル時間 1,929 ms
コンパイル使用メモリ 194,500 KB
実行使用メモリ 7,848 KB
最終ジャッジ日時 2025-11-22 12:40:20
合計ジャッジ時間 3,386 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 2
other AC * 10 WA * 5
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    1 | #import<bits/stdc++.h>
      |  ^~~~~~
main.cpp:2:12: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
    2 | int i,a[9];main(){for(;i<10;i++)std::cin>>a[i];std::sort(a,a+10);printf("%d\n",a[7]);}
      |            ^~~~

ソースコード

diff #
raw source code

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