結果
| 問題 |
No.1157 Many Quotients easy
|
| ユーザー |
kekenx
|
| 提出日時 | 2022-11-17 18:57:20 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 4 ms / 2,000 ms |
| コード長 | 233 bytes |
| コンパイル時間 | 1,718 ms |
| コンパイル使用メモリ | 195,924 KB |
| 最終ジャッジ日時 | 2025-02-08 20:51:46 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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