結果

問題 No.1157 Many Quotients easy
ユーザー keisuke6
提出日時 2022-09-23 13:02:56
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 26 ms / 2,000 ms
コード長 181 bytes
コンパイル時間 1,992 ms
コンパイル使用メモリ 197,840 KB
最終ジャッジ日時 2025-02-07 13:51:11
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
  int N;
  cin>>N;
  set<int> s;
  for(int i=1;i<=N;i++) s.insert(N/i);
  cout<<s.size()<<endl;
}
0