結果
| 問題 |
No.2051 Divide
|
| コンテスト | |
| ユーザー |
keisuke6
|
| 提出日時 | 2022-11-04 09:05:12 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 255 bytes |
| コンパイル時間 | 3,041 ms |
| コンパイル使用メモリ | 215,348 KB |
| 最終ジャッジ日時 | 2025-02-08 17:07:50 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 21 TLE * 2 |
ソースコード
#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;
for(int i=B;i<=A;i+=B)if(A%i == 0) ans++;
cout<<ans<<endl;
}
keisuke6