結果
| 問題 | No.537 ユーザーID |
| コンテスト | |
| ユーザー |
kyabaria
|
| 提出日時 | 2018-09-12 10:55:43 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 388 bytes |
| 記録 | |
| コンパイル時間 | 1,597 ms |
| コンパイル使用メモリ | 168,144 KB |
| 実行使用メモリ | 10,140 KB |
| 最終ジャッジ日時 | 2024-06-26 08:45:38 |
| 合計ジャッジ時間 | 5,696 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 WA * 9 TLE * 1 -- * 16 |
ソースコード
#include <bits/stdc++.h>
typedef long long ll;
#define INF 1000000000
#define MOD 1000000007
using namespace std;
int main(void){
ll n;
cin>>n;
vector<pair<int,int>>res;
int ans=0;
for(int i=1;i*i<=n;i++){
if(n%i==0){
if(i!=n/i){
ans+=2;
}else{
ans++;
}
}
}
cout<<ans<<endl;
}
kyabaria