結果
| 問題 |
No.98 円を描こう
|
| コンテスト | |
| ユーザー |
startcpp
|
| 提出日時 | 2015-02-14 20:21:19 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 220 bytes |
| コンパイル時間 | 497 ms |
| コンパイル使用メモリ | 60,116 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-06-23 20:16:51 |
| 合計ジャッジ時間 | 1,049 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 3 |
| other | AC * 1 WA * 5 |
ソースコード
#include<iostream>
#include<cmath>
#define EPS 1e-5
using namespace std;
int x, y;
int main() {
cin >> x >> y;
int z = x*x * y*y;
double r = sqrt( (double)z ) + EPS;
int ans = r * 2 + 1;
cout << ans << endl;
return 0;
}
startcpp