結果
| 問題 |
No.508 超ゆとり教育
|
| コンテスト | |
| ユーザー |
fumi6328
|
| 提出日時 | 2018-09-14 20:25:55 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 191 bytes |
| コンパイル時間 | 513 ms |
| コンパイル使用メモリ | 66,884 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-07-06 04:44:26 |
| 合計ジャッジ時間 | 1,011 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 7 |
ソースコード
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
double n;
cin >> n;
int s = sqrt(n/3);
cout << (s == 0 ? 1 : s) << endl;
return 0;
}
fumi6328