結果
| 問題 | No.1157 Many Quotients easy |
| ユーザー |
kekenx
|
| 提出日時 | 2022-11-17 18:57:20 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 2,000 ms |
| コード長 | 233 bytes |
| 記録 | |
| コンパイル時間 | 1,208 ms |
| コンパイル使用メモリ | 214,328 KB |
| 実行使用メモリ | 6,528 KB |
| 最終ジャッジ日時 | 2026-06-28 13:28:19 |
| 合計ジャッジ時間 | 2,448 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 22 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
const double EPS = 1e-9;
int main() {
int n;
cin >> n;
set<int> count;
for (int i = 1; i <= n; i++) {
count.insert(n / i);
}
cout << count.size() << '\n';
return 0;
}
kekenx