結果
問題 | No.3 ビットすごろく |
ユーザー | 👑 testestest |
提出日時 | 2016-03-13 22:00:10 |
言語 | C90 (gcc 11.4.0) |
結果 |
AC
|
実行時間 | 155 ms / 5,000 ms |
コード長 | 184 bytes |
コンパイル時間 | 95 ms |
コンパイル使用メモリ | 21,248 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-01 07:46:43 |
合計ジャッジ時間 | 3,402 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 1 ms
6,812 KB |
testcase_01 | AC | 1 ms
6,940 KB |
testcase_02 | AC | 1 ms
6,944 KB |
testcase_03 | AC | 33 ms
6,940 KB |
testcase_04 | AC | 11 ms
6,944 KB |
testcase_05 | AC | 77 ms
6,944 KB |
testcase_06 | AC | 36 ms
6,944 KB |
testcase_07 | AC | 21 ms
6,940 KB |
testcase_08 | AC | 61 ms
6,944 KB |
testcase_09 | AC | 102 ms
6,944 KB |
testcase_10 | AC | 128 ms
6,944 KB |
testcase_11 | AC | 92 ms
6,944 KB |
testcase_12 | AC | 75 ms
6,944 KB |
testcase_13 | AC | 28 ms
6,940 KB |
testcase_14 | AC | 119 ms
6,940 KB |
testcase_15 | AC | 153 ms
6,944 KB |
testcase_16 | AC | 143 ms
6,940 KB |
testcase_17 | AC | 151 ms
6,940 KB |
testcase_18 | AC | 24 ms
6,944 KB |
testcase_19 | AC | 155 ms
6,944 KB |
testcase_20 | AC | 7 ms
6,940 KB |
testcase_21 | AC | 1 ms
6,944 KB |
testcase_22 | AC | 124 ms
6,940 KB |
testcase_23 | AC | 155 ms
6,944 KB |
testcase_24 | AC | 154 ms
6,944 KB |
testcase_25 | AC | 153 ms
6,944 KB |
testcase_26 | AC | 0 ms
6,940 KB |
testcase_27 | AC | 30 ms
6,940 KB |
testcase_28 | AC | 139 ms
6,940 KB |
testcase_29 | AC | 93 ms
6,940 KB |
testcase_30 | AC | 2 ms
6,940 KB |
testcase_31 | AC | 3 ms
6,940 KB |
testcase_32 | AC | 85 ms
6,944 KB |
コンパイルメッセージ
main.c:1:3: warning: multi-character character constant [-Wmultichar] 1 | a['~~'],s=2e3,k,n,*p;main(j){for(a[1]=scanf("%d",&n);s--;)for(p=a;++p<a+n;j=!*p||(!p[j]|p[j]>*p?p[j]=1+*p:0,!p[-j]|p[-j]>*p?p[-j]=1+*p:1))for(k=p-a;k&=k-1;)j++;n=!printf("%d",*p-!*p);} | ^~~~ main.c:1:1: warning: data definition has no type or storage class 1 | a['~~'],s=2e3,k,n,*p;main(j){for(a[1]=scanf("%d",&n);s--;)for(p=a;++p<a+n;j=!*p||(!p[j]|p[j]>*p?p[j]=1+*p:0,!p[-j]|p[-j]>*p?p[-j]=1+*p:1))for(k=p-a;k&=k-1;)j++;n=!printf("%d",*p-!*p);} | ^ main.c:1:1: warning: type defaults to ‘int’ in declaration of ‘a’ [-Wimplicit-int] main.c:1:9: warning: type defaults to ‘int’ in declaration of ‘s’ [-Wimplicit-int] 1 | a['~~'],s=2e3,k,n,*p;main(j){for(a[1]=scanf("%d",&n);s--;)for(p=a;++p<a+n;j=!*p||(!p[j]|p[j]>*p?p[j]=1+*p:0,!p[-j]|p[-j]>*p?p[-j]=1+*p:1))for(k=p-a;k&=k-1;)j++;n=!printf("%d",*p-!*p);} | ^ main.c:1:15: warning: type defaults to ‘int’ in declaration of ‘k’ [-Wimplicit-int] 1 | a['~~'],s=2e3,k,n,*p;main(j){for(a[1]=scanf("%d",&n);s--;)for(p=a;++p<a+n;j=!*p||(!p[j]|p[j]>*p?p[j]=1+*p:0,!p[-j]|p[-j]>*p?p[-j]=1+*p:1))for(k=p-a;k&=k-1;)j++;n=!printf("%d",*p-!*p);} | ^ main.c:1:17: warning: type defaults to ‘int’ in declaration of ‘n’ [-Wimplicit-int] 1 | a['~~'],s=2e3,k,n,*p;main(j){for(a[1]=scanf("%d",&n);s--;)for(p=a;++p<a+n;j=!*p||(!p[j]|p[j]>*p?p[j]=1+*p:0,!p[-j]|p[-j]>*p?p[-j]=1+*p:1))for(k=p-a;k&=k-1;)j++;n=!printf("%d",*p-!*p);} | ^ main.c:1:20: warning: type defaults to ‘int’ in declaration of ‘p’ [-Wimplicit-int] 1 | a['~~'],s=2e3,k,n,*p;main(j){for(a[1]=scanf("%d",&n);s--;)for(p=a;++p<a+n;j=!*p||(!p[j]|p[j]>*p?p[j]=1+*p:0,!p[-j]|p[-j]>*p?p[-j]=1+*p:1))for(k=p-a;k&=k-1;)j++;n=!printf("%d",*p-!*p);} | ^ main.c:1:22: warning: return type defaults to ‘int’ [-Wimplicit-int] 1 | a['~~'],s=2e3,k,n,*p;main(j){for(a[1]=scanf("
ソースコード
a['~~'],s=2e3,k,n,*p;main(j){for(a[1]=scanf("%d",&n);s--;)for(p=a;++p<a+n;j=!*p||(!p[j]|p[j]>*p?p[j]=1+*p:0,!p[-j]|p[-j]>*p?p[-j]=1+*p:1))for(k=p-a;k&=k-1;)j++;n=!printf("%d",*p-!*p);}