結果

問題 No.537 ユーザーID
ユーザー aaaa
提出日時 2017-07-14 01:31:17
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 231 bytes
コンパイル時間 440 ms
コンパイル使用メモリ 54,716 KB
実行使用メモリ 13,632 KB
最終ジャッジ日時 2024-10-07 18:38:22
合計ジャッジ時間 4,143 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 6 WA * 9 TLE * 1 -- * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>

using namespace std;

int main () {
	
	long n;
	cin >> n;
	
	int ans = 0;
	for (long i = 1; i <= n; ++i) {
		long il = i;
		long ir = n / i;
		if (il * ir != n) continue;
		ans++;
	}
	
	cout << ans << endl;
}

0