結果
| 問題 | No.537 ユーザーID |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-12-11 02:42:09 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 324 bytes |
| 記録 | |
| コンパイル時間 | 1,397 ms |
| コンパイル使用メモリ | 208,924 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-06-24 14:08:53 |
| 合計ジャッジ時間 | 3,000 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 19 WA * 13 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main(void)
{
cin.tie(0);
ios::sync_with_stdio(false);
long long int n;
int res = 0;
cin >> n;
for(long long int i=1;i<=sqrt(n);i++)
{
if(n%i==0)
{
if(i*i==n) res += 1;
else res += 2;
}
}
cout << res << '\n';
return 0;
}