結果
| 問題 | 
                            No.98 円を描こう
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2019-07-30 20:09:06 | 
| 言語 | C++14  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 177 bytes | 
| コンパイル時間 | 449 ms | 
| コンパイル使用メモリ | 69,660 KB | 
| 実行使用メモリ | 6,944 KB | 
| 最終ジャッジ日時 | 2024-07-05 06:13:26 | 
| 合計ジャッジ時間 | 901 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 1 WA * 3 | 
| other | AC * 3 WA * 3 | 
ソースコード
#include<iostream>
#include<algorithm>
#include<cmath>
using namespace std;
int main() {
  double x,y,num;
  cin >> x >> y;
  num=sqrt(x*x+y*y);
  cout << ceil(num)*2 << endl;
}