結果
| 問題 | No.537 ユーザーID | 
| コンテスト | |
| ユーザー |  forest3 | 
| 提出日時 | 2020-04-08 09:37:42 | 
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 230 bytes | 
| コンパイル時間 | 1,262 ms | 
| コンパイル使用メモリ | 166,680 KB | 
| 実行使用メモリ | 13,760 KB | 
| 最終ジャッジ日時 | 2024-07-18 05:52:59 | 
| 合計ジャッジ時間 | 5,058 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 6 WA * 9 TLE * 1 -- * 16 | 
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main()
{
	long long N;
	cin >> N;
	long long ans = 0;
	for( int x = 1; x * x <= N; x++ ) {
		if( N % x ) continue;
		ans++;
		if( N / x != x ) ans++;
	}
	cout << ans << endl;
}
            
            
            
        