結果
| 問題 | No.537 ユーザーID |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-07-14 01:33:49 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 261 bytes |
| コンパイル時間 | 1,204 ms |
| コンパイル使用メモリ | 53,880 KB |
| 実行使用メモリ | 10,496 KB |
| 最終ジャッジ日時 | 2024-10-07 18:38:32 |
| 合計ジャッジ時間 | 4,258 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 WA * 9 TLE * 1 -- * 16 |
ソースコード
#include <iostream>
using namespace std;
int main () {
long n;
cin >> n;
int ans = 0;
for (long i = 1; i <= n; ++i) {
long il = i;
long ir = n / i;
if (il * ir != n) continue;
if (il == ir) {
++i;
}
ans++;
}
cout << ans << endl;
}