結果

問題 No.502 階乗を計算するだけ
ユーザー %20
提出日時 2017-04-11 12:14:23
言語 C
(gcc 13.3.0)
結果
TLE  
実行時間 -
コード長 129 bytes
コンパイル時間 316 ms
コンパイル使用メモリ 29,184 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-07-18 07:04:15
合計ジャッジ時間 19,848 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 42 TLE * 10
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c:1:1: warning: data definition has no type or storage class
    1 | *a="�!�    M�#O�9`�7��p%?y�";x;main(long n){scanf("%ld",&n);for(n<1e9+7?x=a[1+n/ *a]:0;n%*a;)x=x*n--%';��';printf("%d",x);}
      | ^
main.c:1:2: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
    1 | *a="�!�    M�#O�9`�7��p%?y�";x;main(long n){scanf("%ld",&n);for(n<1e9+7?x=a[1+n/ *a]:0;n%*a;)x=x*n--%';��';printf("%d",x);}
      |  ^
main.c:1:4: warning: null character(s) preserved in literal
    1 | *a="�!�    M�#O�9`�7��p%?y�";x;main(long n){scanf("%ld",&n);for(n<1e9+7?x=a[1+n/ *a]:0;n%*a;)x=x*n--%';��';printf("%d",x);}
      |    ^
main.c:1:4: warning: initialization of 'int *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types]
    1 | *a="�!�    M�#O�9`�7��p%?y�";x;main(long n){scanf("%ld",&n);for(n<1e9+7?x=a[1+n/ *a]:0;n%*a;)x=x*n--%';��';printf("%d",x);}
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:1:35: warning: data definition has no type or storage class
    1 | *a="�!�    M�#O�9`�7��p%?y�";x;main(long n){scanf("%ld",&n);for(n<1e9+7?x=a[1+n/ *a]:0;n%*a;)x=x*n--%';��';printf("%d",x);}
      |                                   ^
main.c:1:35: warning: type defaults to 'int' in declaration of 'x' [-Wimplicit-int]
main.c:1:37: warning: return type defaults to 'int' [-Wimplicit-int]
    1 | *a="�!�    M�#O�9`�7��p%?y�";x;main(long n){scanf("%ld",&n);for(n<1e9+7?x=a[1+n/ *a]:0;n%*a;)x=x*n--%';��';printf("%d",x);}
      |                                     ^~~~
main.c: In function 'main':
main.c:1:50: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | *a="�!�    M�#O�9`�7��p%?y�";x;main(long n){scanf("%ld",&n);for(n<1e9+7?x=a[1+n/ *a]:0;n%*a;)x=x*n--%';��';printf("%d",x);}
      |                                                  ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | *a="�!�    M�#O�9`

ソースコード

diff #

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