結果
| 問題 | No.537 ユーザーID | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2017-06-30 22:22:54 | 
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 286 bytes | 
| コンパイル時間 | 539 ms | 
| コンパイル使用メモリ | 68,444 KB | 
| 実行使用メモリ | 6,820 KB | 
| 最終ジャッジ日時 | 2024-10-04 19:08:51 | 
| 合計ジャッジ時間 | 1,787 ms | 
| ジャッジサーバーID (参考情報) | judge2 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 19 WA * 13 | 
ソースコード
#include <iostream>
#include <algorithm>
#include <string>
#include <vector>
int main() {
	long long n;
	std::cin >> n;
	int ans = 0;
	for (long long i = 1; i * i <= n; i++) {
		if (n % i == 0) {
			ans++;
			if (i * i != n) {
				ans++;
			}
		}
	}
	std::cout << ans << std::endl;
}
            
            
            
        