結果

問題 No.537 ユーザーID
ユーザー delt
提出日時 2019-03-04 00:53:10
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 290 bytes
コンパイル時間 478 ms
コンパイル使用メモリ 59,096 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-06-23 13:20:34
合計ジャッジ時間 1,875 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 19 WA * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;

int main(void){
  long long n;
  cin >> n;
  long long i;
  long long ans = 0;
  for(i = 1; i * i < n; i++) if(n % i == 0) ans++;
  ans *= 2;
  if(n % (i * i) == 0) ans++;
  cout << ans << endl;
  return 0;
}
0