結果
問題 |
No.537 ユーザーID
|
ユーザー |
![]() |
提出日時 | 2017-07-03 21:11:33 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 460 bytes |
コンパイル時間 | 658 ms |
コンパイル使用メモリ | 89,024 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-10-05 12:42:01 |
合計ジャッジ時間 | 1,799 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | AC * 2 WA * 30 |
ソースコード
#include<iostream> #include<algorithm> #include<cstdio> #include<cstdlib> #include<vector> #include<string> #include<sstream> #include<cmath> #include<numeric> #include<map> #include<stack> #include<queue> #include<list> using namespace std; int inf = 1000000000; int main(void) { long long int n; cin >> n; long long int cnt = 0; for(long long int i=1; i<=sqrt(n); i++){ if( n % i == 0 ) cnt++; } cout << cnt << endl; return 0; } // EOF