結果

問題 No.2051 Divide
ユーザー keisuke6
提出日時 2022-11-04 09:04:28
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
TLE  
実行時間 -
コード長 163 bytes
コンパイル時間 2,068 ms
コンパイル使用メモリ 191,992 KB
最終ジャッジ日時 2025-02-08 17:07:30
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 21 TLE * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

#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;
}
0