結果

問題 No.537 ユーザーID
ユーザー naipia
提出日時 2018-05-24 23:26:34
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 290 bytes
コンパイル時間 1,089 ms
コンパイル使用メモリ 159,112 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-28 17:34:25
合計ジャッジ時間 2,137 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 19 WA * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;

int main(){
    long long N,upper=1;
    int ans=0;
    cin >> N;

    while(upper*upper<N) upper++;
    if(upper*upper==N) ans++;
    for(long long i=1;i<upper;i++){
        if(N%i==0) ans+=2;
    }

    cout << ans << endl;


    return 0;
}
0