結果
問題 |
No.537 ユーザーID
|
ユーザー |
![]() |
提出日時 | 2019-09-30 13:26:40 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 268 bytes |
コンパイル時間 | 1,462 ms |
コンパイル使用メモリ | 166,104 KB |
実行使用メモリ | 13,636 KB |
最終ジャッジ日時 | 2024-10-03 05:11:14 |
合計ジャッジ時間 | 5,389 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 WA * 9 TLE * 1 -- * 16 |
ソースコード
#include <bits/stdc++.h> using namespace std; typedef unsigned long long ull; typedef long long ll; int main(){ ll n; cin >> n; ll sq=(ll)(sqrt(n)), ans=0; if(sq*sq==n) ans++; for(int i=1; i*i<n; i++){ if(n%i==0) ans+=2; } cout << ans << endl; return 0; }