結果
問題 | No.591 (^o^)/ |
ユーザー | testestest |
提出日時 | 2018-01-22 17:17:20 |
言語 | C (gcc 12.3.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 54 bytes |
コンパイル時間 | 151 ms |
コンパイル使用メモリ | 25,948 KB |
実行使用メモリ | 4,380 KB |
最終ジャッジ日時 | 2023-08-26 21:56:10 |
合計ジャッジ時間 | 2,444 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | RE | - |
testcase_01 | RE | - |
testcase_02 | RE | - |
testcase_03 | RE | - |
testcase_04 | RE | - |
testcase_05 | RE | - |
testcase_06 | RE | - |
testcase_07 | RE | - |
testcase_08 | RE | - |
testcase_09 | RE | - |
コンパイルメッセージ
main.c:1:1: 警告: 戻り値の型をデフォルトの ‘int’ にします [-Wimplicit-int] 1 | main(a,b){gets(gets(&b)+4);printf("(%c%c%c)/",b,a,b);} | ^~~~ main.c: 関数 ‘main’ 内: main.c:1:1: 警告: ‘a’ の型をデフォルトの ‘int’ にします [-Wimplicit-int] main.c:1:1: 警告: ‘b’ の型をデフォルトの ‘int’ にします [-Wimplicit-int] main.c:1:11: 警告: 関数 ‘gets’ の暗黙的な宣言です [-Wimplicit-function-declaration] 1 | main(a,b){gets(gets(&b)+4);printf("(%c%c%c)/",b,a,b);} | ^~~~ main.c:1:28: 警告: 関数 ‘printf’ の暗黙的な宣言です [-Wimplicit-function-declaration] 1 | main(a,b){gets(gets(&b)+4);printf("(%c%c%c)/",b,a,b);} | ^~~~~~ main.c:1:1: 備考: include ‘<stdio.h>’ or provide a declaration of ‘printf’ +++ |+#include <stdio.h> 1 | main(a,b){gets(gets(&b)+4);printf("(%c%c%c)/",b,a,b);} main.c:1:28: 警告: 組み込み関数 ‘printf’ の互換性がない暗黙的な宣言です [-Wbuiltin-declaration-mismatch] 1 | main(a,b){gets(gets(&b)+4);printf("(%c%c%c)/",b,a,b);} | ^~~~~~ main.c:1:28: 備考: include ‘<stdio.h>’ or provide a declaration of ‘printf’ /tmp/ccmgMFcO.o: In function `main': main.c:(.text.startup+0x13): warning: the `gets' function is dangerous and should not be used.
ソースコード
main(a,b){gets(gets(&b)+4);printf("(%c%c%c)/",b,a,b);}