結果
| 問題 | No.9001 標準入出力の練習問題(テスト用) |
| ユーザー |
testestest
|
| 提出日時 | 2016-02-17 10:40:00 |
| 言語 | C90 (gcc 12.4.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 61 bytes |
| 記録 | |
| コンパイル時間 | 107 ms |
| コンパイル使用メモリ | 19,584 KB |
| 実行使用メモリ | 6,940 KB |
| 最終ジャッジ日時 | 2024-09-22 07:24:39 |
| 合計ジャッジ時間 | 895 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 2 |
コンパイルメッセージ
main.c:1:1: warning: data definition has no type or storage class
1 | a;main(b,c){a=scanf("%d%d%s",&a,&b,c)>printf("%d %s",a+b,c);}
| ^
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,c){a=scanf("%d%d%s",&a,&b,c)>printf("%d %s",a+b,c);}
| ^~~~
main.c: In function ‘main’:
main.c:1:3: warning: type of ‘b’ defaults to ‘int’ [-Wimplicit-int]
main.c:1:3: warning: type of ‘c’ defaults to ‘int’ [-Wimplicit-int]
main.c:1:15: warning: implicit declaration of function ‘scanf’ [-Wimplicit-function-declaration]
1 | a;main(b,c){a=scanf("%d%d%s",&a,&b,c)>printf("%d %s",a+b,c);}
| ^~~~~
main.c:1:1: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’
+++ |+#include <stdio.h>
1 | a;main(b,c){a=scanf("%d%d%s",&a,&b,c)>printf("%d %s",a+b,c);}
main.c:1:15: warning: incompatible implicit declaration of built-in function ‘scanf’ [-Wbuiltin-declaration-mismatch]
1 | a;main(b,c){a=scanf("%d%d%s",&a,&b,c)>printf("%d %s",a+b,c);}
| ^~~~~
main.c:1:15: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’
main.c:1:27: warning: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘int’ [-Wformat=]
1 | a;main(b,c){a=scanf("%d%d%s",&a,&b,c)>printf("%d %s",a+b,c);}
| ~^ ~
| | |
| char * int
main.c:1:39: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration]
1 | a;main(b,c){a=scanf("%d%d%s",&a,&b,c)>printf("%d %s",a+b,c);}
| ^~~~~~
main.c:1:39: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
main.c:1:39: warning: incompatible implicit declaration of built-in function ‘printf’ [-Wbuiltin-d
ソースコード
a;main(b,c){a=scanf("%d%d%s",&a,&b,c)>printf("%d %s",a+b,c);}
testestest