結果
問題 |
No.3037 トグルトグルトグル!
|
ユーザー |
![]() |
提出日時 | 2025-02-28 21:36:18 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 474 ms / 2,000 ms |
コード長 | 378 bytes |
コンパイル時間 | 3,367 ms |
コンパイル使用メモリ | 273,052 KB |
実行使用メモリ | 8,608 KB |
最終ジャッジ日時 | 2025-03-07 08:47:02 |
合計ジャッジ時間 | 4,761 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 13 |
ソースコード
//#define _GLIBCXX_DEBUG #include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (ll)(n); i++) #define all(a) (a).begin(), (a).end() using ll = long long; const int INF32 = 2e9; const ll INF64 = 4e18; int main() { ll N; cin >> N; ll cnt = 0; for(ll i = 1; i*i <= N; i++){ cnt++; } cout << cnt << endl; return 0; }