結果
| 問題 |
No.98 円を描こう
|
| コンテスト | |
| ユーザー |
miku39kk
|
| 提出日時 | 2017-07-26 09:19:39 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 201 bytes |
| コンパイル時間 | 860 ms |
| コンパイル使用メモリ | 59,016 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-10-09 17:35:03 |
| 合計ジャッジ時間 | 1,183 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 5 WA * 1 |
ソースコード
#include <iostream>
#include <math.h>
using namespace std;
int main() {
int x,y,r2;
cin >> x >> y;
float r;
r = sqrt(x*x + y*y);
r2 = r*2;
cout << r2 + 1 << endl;
return 0;
}
miku39kk