結果

問題 No.98 円を描こう
ユーザー xuelei
提出日時 2018-07-28 09:25:59
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 161 bytes
コンパイル時間 416 ms
コンパイル使用メモリ 58,844 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-05 18:16:50
合計ジャッジ時間 797 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3 WA * 1
other AC * 3 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <cmath>
using namespace std;
int main(){
    int x,y;
    cin >> x >> y;
    cout << (int)sqrt(x*x+y*y)*2+1 <<endl;
    return 0;
}
0