結果

問題 No.502 階乗を計算するだけ
ユーザー %20
提出日時 2017-04-15 04:52:38
言語 C
(gcc 13.3.0)
結果
TLE  
実行時間 -
コード長 129 bytes
コンパイル時間 984 ms
コンパイル使用メモリ 28,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-07-18 15:36:54
合計ジャッジ時間 15,985 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 35 TLE * 7 -- * 10
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c:1:1: warning: data definition has no type or storage class
    1 | s='     �!�';*a="   M�#O�9`�7��p%?y�";x;main(long n){scanf("%ld",&n);for(n<1e9+7?x=a[n/s]:0;n%s;)x=x*n--%';��';printf("%d",x);}
      | ^
main.c:1:1: warning: type defaults to 'int' in declaration of 's' [-Wimplicit-int]
main.c:1:3: warning: multi-character character constant [-Wmultichar]
    1 | s='     �!�';*a="   M�#O�9`�7��p%?y�";x;main(long n){scanf("%ld",&n);for(n<1e9+7?x=a[n/s]:0;n%s;)x=x*n--%';��';printf("%d",x);}
      |   ^~~~~~~~~~
main.c:1:14: warning: data definition has no type or storage class
    1 | s='     �!�';*a="   M�#O�9`�7��p%?y�";x;main(long n){scanf("%ld",&n);for(n<1e9+7?x=a[n/s]:0;n%s;)x=x*n--%';��';printf("%d",x);}
      |              ^
main.c:1:15: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
    1 | s='     �!�';*a="   M�#O�9`�7��p%?y�";x;main(long n){scanf("%ld",&n);for(n<1e9+7?x=a[n/s]:0;n%s;)x=x*n--%';��';printf("%d",x);}
      |               ^
main.c:1:17: warning: null character(s) preserved in literal
    1 | s='     �!�';*a="   M�#O�9`�7��p%?y�";x;main(long n){scanf("%ld",&n);for(n<1e9+7?x=a[n/s]:0;n%s;)x=x*n--%';��';printf("%d",x);}
      |                 ^
main.c:1:17: warning: initialization of 'int *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types]
    1 | s='     �!�';*a="   M�#O�9`�7��p%?y�";x;main(long n){scanf("%ld",&n);for(n<1e9+7?x=a[n/s]:0;n%s;)x=x*n--%';��';printf("%d",x);}
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:1:44: warning: data definition has no type or storage class
    1 | s='     �!�';*a="   M�#O�9`�7��p%?y�";x;main(long n){scanf("%ld",&n);for(n<1e9+7?x=a[n/s]:0;n%s;)x=x*n--%';��';printf("%d",x);}
      |                                            ^
main.c:1:44: warning: type defaults to 'int' in declaration of 'x' [-Wimplicit-int]
main.c:1:46: warning: return type defaults to 'int' [-Wimplicit-int]
    1 | s='     �!�';*a="  

ソースコード

diff #

s='	!';*a="���M#O9`7p%?y";x;main(long n){scanf("%ld",&n);for(n<1e9+7?x=a[n/s]:0;n%s;)x=x*n--%';';printf("%d",x);}
0