結果
問題 |
No.98 円を描こう
|
ユーザー |
![]() |
提出日時 | 2018-02-24 16:59:51 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 206 bytes |
コンパイル時間 | 666 ms |
コンパイル使用メモリ | 72,772 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-14 14:50:57 |
合計ジャッジ時間 | 1,254 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 3 |
other | AC * 5 WA * 1 |
ソースコード
#include<iostream> #include<vector> #include<algorithm> #include<cmath> using namespace std; int main(){ int X,Y,num; cin >> X >> Y; num = sqrt(X*X+Y*Y-0.5)*2; cout << num+1; return 0; }