結果
| 問題 |
No.339 何人が回答したのか
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-01-29 22:34:21 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 634 bytes |
| コンパイル時間 | 776 ms |
| コンパイル使用メモリ | 83,672 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-09-21 18:19:00 |
| 合計ジャッジ時間 | 2,367 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 61 |
ソースコード
#include<iostream>
#include<cstdio>
#include<cstring>
#include<string>
#include<algorithm>
#include<bitset>
#include<vector>
#include<deque>
#include<queue>
#include<map>
#include<set>
#include<stack>
#include<cmath>
#include<iomanip>
#include <functional>
using namespace std;
typedef long long ll;
//--------------------------
int main()
{
int n;
int a[110];
cin >> n;
for (int i = 0; i < n; i++) {
cin >> a[i];
}
int ans = 1;
while (1) {
int flag = 0;
for (int i = 0; i < n; i++) {
if (a[i] * ans % 100 != 0) {
flag = 1;
}
}
if (!flag) {
cout << ans << endl;
break;
}
ans++;
}
return 0;
}