結果
問題 |
No.1237 EXP Multiple!
|
ユーザー |
|
提出日時 | 2020-09-25 21:56:19 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 305 bytes |
コンパイル時間 | 1,557 ms |
コンパイル使用メモリ | 194,368 KB |
最終ジャッジ日時 | 2025-01-14 20:54:48 |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 1 |
other | AC * 5 WA * 14 |
ソースコード
#include <bits/stdc++.h> using namespace std; typedef long long int ll; constexpr ll mod=1e9+7; int main(){ cin.tie(nullptr); ios::sync_with_stdio(false); int n; cin >> n; vector<ll> a(n); bool zero=0; for(int i=0;i<n;i++){ cin >> a[i]; if(!a[i])zero=true; } if(zero){ printf("-1\n"); } }