結果
| 問題 |
No.113 宝探し
|
| コンテスト | |
| ユーザー |
👑 testestest
|
| 提出日時 | 2015-08-05 18:50:26 |
| 言語 | C90 (gcc 12.3.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 5,000 ms |
| コード長 | 157 bytes |
| コンパイル時間 | 145 ms |
| コンパイル使用メモリ | 23,424 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-06-26 03:09:15 |
| 合計ジャッジ時間 | 1,062 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 23 |
ソースコード
#include <stdio.h>
#include <math.h>
int main(){
int a=0,b=0,x;
while(x=getchar()-10)x-68?x-73?x-59?b--:b++:a--:a++;
printf("%lf",sqrt(a*a+b*b));
return 0;
}
testestest