結果
| 問題 | No.537 ユーザーID |
| コンテスト | |
| ユーザー |
focus
|
| 提出日時 | 2018-02-14 20:22:20 |
| 言語 | C++11(廃止可能性あり) (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 380 bytes |
| 記録 | |
| コンパイル時間 | 620 ms |
| コンパイル使用メモリ | 64,772 KB |
| 実行使用メモリ | 13,644 KB |
| 最終ジャッジ日時 | 2024-12-23 03:56:21 |
| 合計ジャッジ時間 | 52,720 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 15 TLE * 17 |
ソースコード
#include<iostream>
#include<algorithm>
#include<vector>
#include<cmath>
using namespace std;
int main(void){
unsigned long long N;
int count = 0;
cin >> N;
for(unsigned long long i=sqrt(N);i>0;i--){
for(unsigned long long j=1;j<i;j++){
if(i*j==N) count++;
}
}
if(sqrt(N)*sqrt(N)==N) count--;
cout << count;
return 0;
}
focus