結果
問題 | No.98 円を描こう |
ユーザー |
|
提出日時 | 2018-06-23 17:06:46 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 5,000 ms |
コード長 | 154 bytes |
コンパイル時間 | 141 ms |
コンパイル使用メモリ | 28,544 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-30 18:29:02 |
合計ジャッジ時間 | 754 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 6 |
ソースコード
#include <stdio.h>#include <math.h>int main(void){int x, y;scanf("%d%d", &x, &y);printf("%d", (int)(hypot(x, y) * 2 + 1));return 0;}