結果

問題 No.3379 Third Max (C++)
コンテスト
ユーザー hidehic0
提出日時 2025-11-29 13:21:48
言語 C++17
(gcc 13.3.0 + boost 1.89.0)
結果
WA  
実行時間 -
コード長 135 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 1,983 ms
コンパイル使用メモリ 197,224 KB
実行使用メモリ 7,716 KB
スコア 61
最終ジャッジ日時 2025-11-29 13:21:53
合計ジャッジ時間 4,224 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 14 WA * 1
権限があれば一括ダウンロードができます
コンパイルメッセージ
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(){std::vector<int>l(10);int n=9;while(n--){std::cin>>l[n];};sort(l.begin(),l.end());std::cout<<l[7]<<"\n";}
      | ^~~~

ソースコード

diff #
raw source code

#import<bits/stdc++.h>
main(){std::vector<int>l(10);int n=9;while(n--){std::cin>>l[n];};sort(l.begin(),l.end());std::cout<<l[7]<<"\n";}
0