結果
問題 | No.537 ユーザーID |
ユーザー |
![]() |
提出日時 | 2017-07-22 00:07:20 |
言語 | C++11 (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 246 bytes |
コンパイル時間 | 679 ms |
コンパイル使用メモリ | 62,912 KB |
実行使用メモリ | 10,496 KB |
最終ジャッジ日時 | 2024-10-09 04:34:58 |
合計ジャッジ時間 | 4,545 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 3 WA * 12 TLE * 1 -- * 16 |
ソースコード
#define ll long long #include<iostream> #include<vector> #include<math.h> using namespace std; int main(){ ll n,ans=0; cin>>n; for(int i=1;i<=n;i++){ if(n%i==0)ans++; } if(sqrt(n)-floor(sqrt(n))==0)ans--; cout<<ans<<endl; return 0; }