結果
| 問題 | No.537 ユーザーID | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2017-11-19 16:19:18 | 
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 280 bytes | 
| コンパイル時間 | 423 ms | 
| コンパイル使用メモリ | 55,336 KB | 
| 実行使用メモリ | 13,644 KB | 
| 最終ジャッジ日時 | 2024-11-25 22:55:41 | 
| 合計ジャッジ時間 | 52,532 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 WA * 1 | 
| other | AC * 3 WA * 12 TLE * 17 | 
ソースコード
#include <iostream>
using namespace std;
typedef unsigned long long UL;
int main(int argc, char* argv[])
{
	UL N;
	cin>>N;
	UL aw=0;
	int eq=0;
	for (UL i=1;i<=N;i++){
		if (N%i==0){
			aw+=1;
			UL x=N/i;
			if (x==i){
				eq++;
			}
		}
	}
	aw-=eq;
	cout<<aw<<endl;
	return 0;
}
            
            
            
        