結果
問題 |
No.1157 Many Quotients easy
|
ユーザー |
![]() |
提出日時 | 2023-08-27 20:29:09 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 4 ms / 2,000 ms |
コード長 | 336 bytes |
コンパイル時間 | 1,162 ms |
コンパイル使用メモリ | 104,124 KB |
最終ジャッジ日時 | 2025-02-16 15:17:29 |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 22 |
ソースコード
#include<iostream> #include<map> #include<vector> #include <algorithm> #include<math.h> #include <iomanip> #include<set> #include <numeric> #include<string> using namespace std; int main() { int n; cin >> n; set<int> st; for (int i = 1; i <= n; i++){ st.insert(n/i); } cout << st.size() << endl; }