結果
| 問題 |
No.441 和か積
|
| コンテスト | |
| ユーザー |
👑 testestest
|
| 提出日時 | 2016-11-12 00:20:13 |
| 言語 | C90 (gcc 12.3.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 77 bytes |
| コンパイル時間 | 929 ms |
| コンパイル使用メモリ | 19,456 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-11-25 10:38:31 |
| 合計ジャッジ時間 | 4,079 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 RE * 1 |
| other | AC * 15 RE * 15 |
コンパイルメッセージ
main.c:1:1: warning: data definition has no type or storage class
1 | a;main(b){a=scanf("%s%s",&a,&b)>putchar((a-49)*(b-49)-1?a<50|b<50?83:80:69);}
| ^
main.c:1:1: warning: type defaults to ‘int’ in declaration of ‘a’ [-Wimplicit-int]
main.c:1:3: warning: return type defaults to ‘int’ [-Wimplicit-int]
1 | a;main(b){a=scanf("%s%s",&a,&b)>putchar((a-49)*(b-49)-1?a<50|b<50?83:80:69);}
| ^~~~
main.c: In function ‘main’:
main.c:1:3: warning: type of ‘b’ defaults to ‘int’ [-Wimplicit-int]
main.c:1:13: warning: implicit declaration of function ‘scanf’ [-Wimplicit-function-declaration]
1 | a;main(b){a=scanf("%s%s",&a,&b)>putchar((a-49)*(b-49)-1?a<50|b<50?83:80:69);}
| ^~~~~
main.c:1:1: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’
+++ |+#include <stdio.h>
1 | a;main(b){a=scanf("%s%s",&a,&b)>putchar((a-49)*(b-49)-1?a<50|b<50?83:80:69);}
main.c:1:13: warning: incompatible implicit declaration of built-in function ‘scanf’ [-Wbuiltin-declaration-mismatch]
1 | a;main(b){a=scanf("%s%s",&a,&b)>putchar((a-49)*(b-49)-1?a<50|b<50?83:80:69);}
| ^~~~~
main.c:1:13: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’
main.c:1:21: warning: format ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘int *’ [-Wformat=]
1 | a;main(b){a=scanf("%s%s",&a,&b)>putchar((a-49)*(b-49)-1?a<50|b<50?83:80:69);}
| ~^ ~~
| | |
| | int *
| char *
| %ls
main.c:1:23: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘int *’ [-Wformat=]
1 | a;main(b){a=scanf("%s%s",&a,&b)>putchar((a-49)*(b-49)-1?a<50|b<50?83:80:69);}
| ~^ ~~
| | |
| | int *
|
ソースコード
a;main(b){a=scanf("%s%s",&a,&b)>putchar((a-49)*(b-49)-1?a<50|b<50?83:80:69);}
testestest