結果
| 問題 |
No.1257 変わった平均値
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-10-17 12:23:30 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 233 bytes |
| コンパイル時間 | 729 ms |
| コンパイル使用メモリ | 74,612 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-21 02:02:12 |
| 合計ジャッジ時間 | 1,567 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 20 WA * 5 |
コンパイルメッセージ
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 2":"No")<<endl;
}