結果
| 問題 |
No.1586 Equal Array
|
| コンテスト | |
| ユーザー |
karaage
|
| 提出日時 | 2021-07-08 22:36:47 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 234 bytes |
| コンパイル時間 | 1,590 ms |
| コンパイル使用メモリ | 169,488 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-07-01 12:53:46 |
| 合計ジャッジ時間 | 2,534 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 12 WA * 8 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
int main(){
ll N,sum;
sum=0;
cin >> N;
vector<ll> a(N);
for(auto i:a)sum+=i;
if(sum%N==0)cout << "Yes";
else cout << "No";
}
karaage