結果
問題 |
No.328 きれいな連立方程式
|
ユーザー |
👑 ![]() |
提出日時 | 2018-06-30 23:43:52 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 98 bytes |
コンパイル時間 | 129 ms |
コンパイル使用メモリ | 28,288 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-01 01:02:54 |
合計ジャッジ時間 | 1,159 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 31 |
コンパイルメッセージ
main.c:1:1: warning: data definition has no type or storage class 1 | a,b,c,d;main(i){puts(1<scanf("%d%d%d%d",&a,&b,&c,&d)/pow(a*d-b*c,2)*(c*c-b*d)*(b*b-c*a)?"I":"R");} | ^ main.c:1:1: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] main.c:1:3: warning: type defaults to 'int' in declaration of 'b' [-Wimplicit-int] 1 | a,b,c,d;main(i){puts(1<scanf("%d%d%d%d",&a,&b,&c,&d)/pow(a*d-b*c,2)*(c*c-b*d)*(b*b-c*a)?"I":"R");} | ^ main.c:1:5: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] 1 | a,b,c,d;main(i){puts(1<scanf("%d%d%d%d",&a,&b,&c,&d)/pow(a*d-b*c,2)*(c*c-b*d)*(b*b-c*a)?"I":"R");} | ^ main.c:1:7: warning: type defaults to 'int' in declaration of 'd' [-Wimplicit-int] 1 | a,b,c,d;main(i){puts(1<scanf("%d%d%d%d",&a,&b,&c,&d)/pow(a*d-b*c,2)*(c*c-b*d)*(b*b-c*a)?"I":"R");} | ^ main.c:1:9: warning: return type defaults to 'int' [-Wimplicit-int] 1 | a,b,c,d;main(i){puts(1<scanf("%d%d%d%d",&a,&b,&c,&d)/pow(a*d-b*c,2)*(c*c-b*d)*(b*b-c*a)?"I":"R");} | ^~~~ main.c: In function 'main': main.c:1:9: warning: type of 'i' defaults to 'int' [-Wimplicit-int] main.c:1:17: warning: implicit declaration of function 'puts' [-Wimplicit-function-declaration] 1 | a,b,c,d;main(i){puts(1<scanf("%d%d%d%d",&a,&b,&c,&d)/pow(a*d-b*c,2)*(c*c-b*d)*(b*b-c*a)?"I":"R");} | ^~~~ main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'puts' +++ |+#include <stdio.h> 1 | a,b,c,d;main(i){puts(1<scanf("%d%d%d%d",&a,&b,&c,&d)/pow(a*d-b*c,2)*(c*c-b*d)*(b*b-c*a)?"I":"R");} main.c:1:24: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration] 1 | a,b,c,d;main(i){puts(1<scanf("%d%d%d%d",&a,&b,&c,&d)/pow(a*d-b*c,2)*(c*c-b*d)*(b*b-c*a)?"I":"R");} | ^~~~~ main.c:1:24: note: include '<stdio.h>' or provide a declaration of 'scanf' main.c:1:24: warning: incompatible implicit declaration of built-in functio
ソースコード
a,b,c,d;main(i){puts(1<scanf("%d%d%d%d",&a,&b,&c,&d)/pow(a*d-b*c,2)*(c*c-b*d)*(b*b-c*a)?"I":"R");}