結果

問題 No.537 ユーザーID
ユーザー ldsyb
提出日時 2017-06-30 22:34:25
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 198 bytes
コンパイル時間 445 ms
コンパイル使用メモリ 63,524 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-10-04 20:05:05
合計ジャッジ時間 1,521 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 19 WA * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;

int main(){
	int64_t ans = 0, n;
	cin >> n;
	for(int64_t i = 1; i * i <= n; i++) if(n % i == 0){
		ans++;
		if(i * i != n) ans++;
	}
	cout << ans << endl;
}
0