結果

問題 No.1157 Many Quotients easy
ユーザー ninoinui
提出日時 2020-08-12 00:02:12
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 5 ms / 2,000 ms
コード長 175 bytes
コンパイル時間 1,973 ms
コンパイル使用メモリ 195,336 KB
最終ジャッジ日時 2025-01-12 20:40:06
ジャッジサーバーID
(参考情報)
judge5 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

int main() {
  int N;
  cin >> N;
  set<int> SE;
  for (int i = 1; i <= N; i++) SE.insert(N / i);
  cout << SE.size() << "\n";
}
0