結果

問題 No.98 円を描こう
ユーザー unyaunya
提出日時 2018-02-27 14:57:03
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 153 bytes
コンパイル時間 693 ms
コンパイル使用メモリ 67,456 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-28 08:38:26
合計ジャッジ時間 1,290 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 3
other WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <math.h>
using namespace std;
int main(){
    int xp,yp,ans;
    cin>>xp>>yp;
    cout <<floor(sqrt(xp^2+yp^2)*2)+1<<endl;
}
0