結果
問題 | No.537 ユーザーID |
ユーザー |
![]() |
提出日時 | 2021-02-15 22:57:06 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 291 bytes |
コンパイル時間 | 1,815 ms |
コンパイル使用メモリ | 191,284 KB |
最終ジャッジ日時 | 2025-01-18 21:18:43 |
ジャッジサーバーID (参考情報) |
judge2 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 WA * 9 TLE * 17 |
ソースコード
#include <bits/stdc++.h>using namespace std;typedef long long ll;#define rep(i,n) for(ll i=0;i<n;i++)static const int INF=1000000000;int main(){ll n;cin>>n;int cnt=0;for(int i=1;i*i<=n;i++){if(n%i==0) cnt+=2;if(i*i==n) cnt--;}cout<<cnt<<endl;return 0;}