結果
問題 |
No.339 何人が回答したのか
|
ユーザー |
![]() |
提出日時 | 2016-05-21 18:43:22 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 195 bytes |
コンパイル時間 | 623 ms |
コンパイル使用メモリ | 66,536 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-11 01:12:43 |
合計ジャッジ時間 | 2,374 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 61 |
ソースコード
#include <iostream> #include <algorithm> using namespace std; int main() { int n; cin>>n; int a; cin>>a; int g=a; while (--n) { cin>>a; g=__gcd(g, a); } cout<<100/g<<endl; }