結果
| 問題 |
No.537 ユーザーID
|
| コンテスト | |
| ユーザー |
ldsyb
|
| 提出日時 | 2017-06-30 22:34:30 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 198 bytes |
| コンパイル時間 | 702 ms |
| コンパイル使用メモリ | 64,332 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-04 20:06:00 |
| 合計ジャッジ時間 | 1,855 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 19 WA * 13 |
ソースコード
#include <iostream>
using namespace std;
int main(){
int64_t ans = 0, n;
cin >> n;
for(int64_t i = 1; i * i <= n; i++) if(n % i == 0){
ans++;
if(i * i != n) ans++;
}
cout << ans << endl;
}
ldsyb