結果
問題 |
No.3037 トグルトグルトグル!
|
ユーザー |
|
提出日時 | 2025-02-28 22:19:05 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 250 bytes |
コンパイル時間 | 694 ms |
コンパイル使用メモリ | 77,520 KB |
実行使用メモリ | 11,428 KB |
最終ジャッジ日時 | 2025-02-28 22:19:09 |
合計ジャッジ時間 | 4,292 ms |
ジャッジサーバーID (参考情報) |
judge6 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 4 TLE * 1 -- * 7 |
ソースコード
#include <iostream> int main() { int N; std::cin >> N; int ans = 0; for (int i = 1; i <= N; ++i) { if (i * i <= N) ans += 1; else break; } std::cout << ans << std::endl; return 0; }