結果
問題 | No.587 七対子 |
ユーザー | 👑 testestest |
提出日時 | 2017-11-04 16:39:06 |
言語 | C (gcc 12.3.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 103 bytes |
コンパイル時間 | 126 ms |
コンパイル使用メモリ | 27,776 KB |
実行使用メモリ | 15,176 KB |
最終ジャッジ日時 | 2024-11-23 17:57:49 |
合計ジャッジ時間 | 109,375 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | TLE | - |
testcase_01 | TLE | - |
testcase_02 | TLE | - |
testcase_03 | TLE | - |
testcase_04 | TLE | - |
testcase_05 | TLE | - |
testcase_06 | TLE | - |
testcase_07 | TLE | - |
testcase_08 | TLE | - |
testcase_09 | TLE | - |
testcase_10 | TLE | - |
testcase_11 | TLE | - |
testcase_12 | TLE | - |
testcase_13 | TLE | - |
testcase_14 | TLE | - |
testcase_15 | TLE | - |
testcase_16 | TLE | - |
testcase_17 | TLE | - |
testcase_18 | TLE | - |
testcase_19 | TLE | - |
testcase_20 | TLE | - |
testcase_21 | TLE | - |
testcase_22 | TLE | - |
testcase_23 | TLE | - |
testcase_24 | TLE | - |
testcase_25 | TLE | - |
testcase_26 | TLE | - |
testcase_27 | TLE | - |
testcase_28 | TLE | - |
testcase_29 | TLE | - |
testcase_30 | TLE | - |
testcase_31 | TLE | - |
testcase_32 | TLE | - |
testcase_33 | TLE | - |
testcase_34 | TLE | - |
コンパイルメッセージ
main.c:1:1: warning: data definition has no type or storage class 1 | a[999],t,x;main(i){for(;i<128;t+=a[i]>1,a[i]<2?x=i:0)a[getchar()+1]++;printf(t-6?"Impossible":"%c",x);} | ^ main.c:1:1: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] main.c:1:8: warning: type defaults to 'int' in declaration of 't' [-Wimplicit-int] 1 | a[999],t,x;main(i){for(;i<128;t+=a[i]>1,a[i]<2?x=i:0)a[getchar()+1]++;printf(t-6?"Impossible":"%c",x);} | ^ main.c:1:10: warning: type defaults to 'int' in declaration of 'x' [-Wimplicit-int] 1 | a[999],t,x;main(i){for(;i<128;t+=a[i]>1,a[i]<2?x=i:0)a[getchar()+1]++;printf(t-6?"Impossible":"%c",x);} | ^ main.c:1:12: warning: return type defaults to 'int' [-Wimplicit-int] 1 | a[999],t,x;main(i){for(;i<128;t+=a[i]>1,a[i]<2?x=i:0)a[getchar()+1]++;printf(t-6?"Impossible":"%c",x);} | ^~~~ main.c: In function 'main': main.c:1:12: warning: type of 'i' defaults to 'int' [-Wimplicit-int] main.c:1:56: warning: implicit declaration of function 'getchar' [-Wimplicit-function-declaration] 1 | a[999],t,x;main(i){for(;i<128;t+=a[i]>1,a[i]<2?x=i:0)a[getchar()+1]++;printf(t-6?"Impossible":"%c",x);} | ^~~~~~~ main.c:1:1: note: 'getchar' is defined in header '<stdio.h>'; did you forget to '#include <stdio.h>'? +++ |+#include <stdio.h> 1 | a[999],t,x;main(i){for(;i<128;t+=a[i]>1,a[i]<2?x=i:0)a[getchar()+1]++;printf(t-6?"Impossible":"%c",x);} main.c:1:71: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] 1 | a[999],t,x;main(i){for(;i<128;t+=a[i]>1,a[i]<2?x=i:0)a[getchar()+1]++;printf(t-6?"Impossible":"%c",x);} | ^~~~~~ main.c:1:71: note: include '<stdio.h>' or provide a declaration of 'printf' main.c:1:71: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declarati
ソースコード
a[999],t,x;main(i){for(;i<128;t+=a[i]>1,a[i]<2?x=i:0)a[getchar()+1]++;printf(t-6?"Impossible":"%c",x);}