結果
問題 | No.98 円を描こう |
ユーザー |
![]() |
提出日時 | 2022-07-13 13:10:15 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 182 bytes |
コンパイル時間 | 2,758 ms |
コンパイル使用メモリ | 242,920 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-24 12:42:22 |
合計ジャッジ時間 | 3,467 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 6 |
ソースコード
#include <bits/stdc++.h>using namespace std;#define int long longsigned main(){int A,B;cin>>A>>B;int ans = 0;while(ans <= sqrt(A*A+B*B)*2) ans++;cout<<ans<<endl;}