結果

問題 No.98 円を描こう
ユーザー tonegawa
提出日時 2020-08-15 04:04:53
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 152 bytes
コンパイル時間 723 ms
コンパイル使用メモリ 77,140 KB
最終ジャッジ日時 2025-01-13 00:59:58
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <cmath>
using namespace std;
int main(){
	int Xp, Yp;
	cin >> Xp >> Yp;
	cout << (int) hypot(Xp * 2, Yp * 2) + 1 << endl;
}
0