結果
問題 | No.1257 変わった平均値 |
ユーザー |
|
提出日時 | 2020-10-17 12:17:48 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 234 bytes |
コンパイル時間 | 684 ms |
コンパイル使用メモリ | 74,484 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-21 02:02:10 |
合計ジャッジ時間 | 1,700 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 25 |
コンパイルメッセージ
main.cpp:11:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] 11 | main(){ | ^~~~
ソースコード
#include<iostream> #include<algorithm> #include<vector> using namespace std; vector<int>f(){ vector<int>a(3); for(int&b:a)cin>>b; sort(a.begin(),a.end()); return a; } main(){ cout<<(f()==f()?"Yes\n2":"No")<<endl; }