結果
| 問題 | No.537 ユーザーID | 
| コンテスト | |
| ユーザー |  tenkyu9 | 
| 提出日時 | 2018-03-25 03:43:43 | 
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 403 bytes | 
| コンパイル時間 | 1,063 ms | 
| コンパイル使用メモリ | 79,976 KB | 
| 実行使用メモリ | 5,376 KB | 
| 最終ジャッジ日時 | 2024-06-25 05:11:57 | 
| 合計ジャッジ時間 | 1,934 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | WA * 3 | 
| other | AC * 8 WA * 24 | 
ソースコード
#include<iostream>
#include<string>
#include<algorithm>
#include<cmath>
#include<iomanip>
#include<cstring>
#include<map>
#include<vector>
#include<queue>
#include<climits>
using namespace std;
typedef long long int ll;
int main(){
	
	ll n, ans=0;
	cin >> n;
	for(int i=1; i<1000001; i++){
		if(n%i==0){
			if(n/i==i){
				ans++;
			} else {
				ans+=2;
			}
		}
	}
	cout << ans << endl;
  return 0;
}
            
            
            
        