結果
| 問題 | No.3037 トグルトグルトグル! |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-02-28 22:19:05 |
| 言語 | C++23 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 250 bytes |
| 記録 | |
| コンパイル時間 | 838 ms |
| コンパイル使用メモリ | 146,108 KB |
| 実行使用メモリ | 11,088 KB |
| 最終ジャッジ日時 | 2026-07-06 12:43:41 |
| 合計ジャッジ時間 | 5,231 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | TLE * 1 -- * 12 |
ソースコード
#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;
}