結果
問題 |
No.508 超ゆとり教育
|
ユーザー |
|
提出日時 | 2017-04-28 22:30:48 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 209 bytes |
コンパイル時間 | 530 ms |
コンパイル使用メモリ | 64,100 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-13 18:03:30 |
合計ジャッジ時間 | 1,652 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 1 |
other | AC * 3 WA * 4 |
ソースコード
#include<iostream> #include<vector> #include<algorithm> #include<math.h> using namespace std; int main(){ double n, r; cin >> n; r = sqrt(n/3); if((int)r < 1) r = 1; cout << r << endl; return 0; }