結果
問題 |
No.537 ユーザーID
|
ユーザー |
![]() |
提出日時 | 2017-07-08 04:05:44 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 172 bytes |
コンパイル時間 | 414 ms |
コンパイル使用メモリ | 54,240 KB |
実行使用メモリ | 13,636 KB |
最終ジャッジ日時 | 2024-10-06 11:35:50 |
合計ジャッジ時間 | 4,186 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 WA * 9 TLE * 1 -- * 16 |
ソースコード
#include<iostream> using namespace std; int main(){ int n,ans=0; cin>>n; for(int i=1;i*i<=n;i++){ if(i*i==n)ans--; if(n%i==0)ans+=2; }cout<<ans<<endl; return 0; }