結果
問題 | No.98 円を描こう |
ユーザー |
![]() |
提出日時 | 2016-01-16 12:40:48 |
言語 | C++11 (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 152 bytes |
コンパイル時間 | 1,139 ms |
コンパイル使用メモリ | 159,732 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-09-19 19:55:56 |
合計ジャッジ時間 | 1,736 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 6 |
ソースコード
#include <bits/stdc++.h>using namespace std;int main(){int x, y; cin >> x >> y;cout << (int)(sqrt(x * x + y * y) * 2) / 1 + 1 << endl;}