結果
| 問題 | No.105 arcの六角ボルト |
| コンテスト | |
| ユーザー |
testestest
|
| 提出日時 | 2016-02-01 08:01:34 |
| 言語 | C90(gcc12) (gcc 12.4.0) |
| 結果 |
RE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 145 bytes |
| 記録 | |
| コンパイル時間 | 132 ms |
| コンパイル使用メモリ | 29,636 KB |
| 最終ジャッジ日時 | 2026-02-23 20:26:49 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 1 |
コンパイルメッセージ
main.c:1:12: warning: data definition has no type or storage class
1 | double x,y;i;main(){for(gets(&x);i=~scanf("%lf%lf",&x,&y);printf("%.9f\n",x)){for(x=atan2(y,x)/atan(1)*45+180;x>51;x-=60);for(;i++<3;gets(&y));}}
| ^
main.c: In function ‘main’:
main.c:1:37: warning: incompatible implicit declaration of built-in function ‘scanf’ [-Wbuiltin-declaration-mismatch]
1 | double x,y;i;main(){for(gets(&x);i=~scanf("%lf%lf",&x,&y);printf("%.9f\n",x)){for(x=atan2(y,x)/atan(1)*45+180;x>51;x-=60);for(;i++<3;gets(&y));}}
| ^~~~~
main.c:1:1: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’
+++ |+#include <stdio.h>
1 | double x,y;i;main(){for(gets(&x);i=~scanf("%lf%lf",&x,&y);printf("%.9f\n",x)){for(x=atan2(y,x)/atan(1)*45+180;x>51;x-=60);for(;i++<3;gets(&y));}}
main.c:1:59: warning: incompatible implicit declaration of built-in function ‘printf’ [-Wbuiltin-declaration-mismatch]
1 | double x,y;i;main(){for(gets(&x);i=~scanf("%lf%lf",&x,&y);printf("%.9f\n",x)){for(x=atan2(y,x)/atan(1)*45+180;x>51;x-=60);for(;i++<3;gets(&y));}}
| ^~~~~~
main.c:1:59: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
main.c:1:85: warning: incompatible implicit declaration of built-in function ‘atan2’ [-Wbuiltin-declaration-mismatch]
1 | double x,y;i;main(){for(gets(&x);i=~scanf("%lf%lf",&x,&y);printf("%.9f\n",x)){for(x=atan2(y,x)/atan(1)*45+180;x>51;x-=60);for(;i++<3;gets(&y));}}
| ^~~~~
main.c:1:1: note: include ‘<math.h>’ or provide a declaration of ‘atan2’
+++ |+#include <math.h>
1 | double x,y;i;main(){for(gets(&x);i=~scanf("%lf%lf",&x,&y);printf("%.9f\n",x)){for(x=atan2(y,x)/atan(1)*45+180;x>51;x-=60);for(;i++<3;gets(&y));}}
main.c:1:96: warning: incompatible implicit declaration of built-in
ソースコード
double x,y;i;main(){for(gets(&x);i=~scanf("%lf%lf",&x,&y);printf("%.9f\n",x)){for(x=atan2(y,x)/atan(1)*45+180;x>51;x-=60);for(;i++<3;gets(&y));}}
testestest