結果

問題 No.502 階乗を計算するだけ
コンテスト
ユーザー %20
提出日時 2017-04-15 04:52:38
言語 C(gnu17)
(gcc 15.2.0)
コンパイル:
gcc-15 -O2 -std=gnu17 -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -DONLINE_JUDGE -o a.out _filename_ -lm
実行:
./a.out
結果
AC  
実行時間 754 ms / 1,000 ms
+ 807µs
コード長 129 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 49 ms
コンパイル使用メモリ 36,992 KB
実行使用メモリ 5,888 KB
最終ジャッジ日時 2026-07-21 13:25:02
合計ジャッジ時間 9,884 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 52
権限があれば一括ダウンロードができます
コンパイルメッセージ
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: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:1: warning: type defaults to 'int' in declaration of 's' [-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: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: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: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: 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 de

ソースコード

diff #
raw source code

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