結果
問題 | No.98 円を描こう |
ユーザー |
![]() |
提出日時 | 2017-08-31 09:42:13 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 191 bytes |
コンパイル時間 | 683 ms |
コンパイル使用メモリ | 67,348 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-06 16:29:45 |
合計ジャッジ時間 | 1,135 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 6 |
ソースコード
#include<iostream> #include<math.h> using namespace std; void out (int n) { cout << n << endl; } int main() { int x,y; cin >> x >> y; out(sqrt(x*x+y*y)*2+1); return 0; }