結果
問題 |
No.2051 Divide
|
ユーザー |
![]() |
提出日時 | 2022-11-04 09:05:51 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 310 bytes |
コンパイル時間 | 2,992 ms |
コンパイル使用メモリ | 216,388 KB |
最終ジャッジ日時 | 2025-02-08 17:08:03 |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 20 WA * 3 |
ソースコード
#pragma GCC target("avx2") #pragma GCC optimize("O3") #pragma GCC optimize("unroll-loops") #include <bits/stdc++.h> using namespace std; int main(){ int A,B; cin>>A>>B; int ans = 0; if(B == 1){ cout<<A<<endl; return 0; } for(int i=B;i<=A;i+=B)if(A%i == 0) ans++; cout<<ans<<endl; }