結果
| 問題 | No.502 階乗を計算するだけ |
| コンテスト | |
| ユーザー |
lpha_z
|
| 提出日時 | 2017-04-15 05:23:19 |
| 言語 | C90(gcc12) (gcc 12.4.0) |
| 結果 |
RE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 129 bytes |
| 記録 | |
| コンパイル時間 | 115 ms |
| コンパイル使用メモリ | 29,764 KB |
| 実行使用メモリ | 7,848 KB |
| 最終ジャッジ日時 | 2026-03-08 16:11:16 |
| 合計ジャッジ時間 | 9,616 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 52 |
コンパイルメッセージ
main.c:1:1: warning: data definition has no type or storage class
1 | *a="?y���p%`�7O�9M�#";x;main(long n){scanf("%ld",&n);for(n<1e9+7?x=a[5-n/' �!�']:0;n%' �!�';)x=x*n--%';��';printf("%d",x);}
| ^
main.c:1:4: warning: initialization of ‘int *’ from incompatible pointer type ‘char *’ [-Wincompatible-pointer-types]
1 | *a="?y���p%`�7O�9M�#";x;main(long n){scanf("%ld",&n);for(n<1e9+7?x=a[5-n/' �!�']:0;n%' �!�';)x=x*n--%';��';printf("%d",x);}
| ^~~~~~~~~~~~~~~~~~~~~~~
main.c:1:28: warning: data definition has no type or storage class
1 | *a="?y���p%`�7O�9M�#";x;main(long n){scanf("%ld",&n);for(n<1e9+7?x=a[5-n/' �!�']:0;n%' �!�';)x=x*n--%';��';printf("%d",x);}
| ^
main.c: In function ‘main’:
main.c:1:43: warning: incompatible implicit declaration of built-in function ‘scanf’ [-Wbuiltin-declaration-mismatch]
1 | *a="?y���p%`�7O�9M�#";x;main(long n){scanf("%ld",&n);for(n<1e9+7?x=a[5-n/' �!�']:0;n%' �!�';)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="?y���p%`�7O�9M�#";x;main(long n){scanf("%ld",&n);for(n<1e9+7?x=a[5-n/' �!�']:0;n%' �!�';)x=x*n--%';��';printf("%d",x);}
main.c:1:79: warning: multi-character character constant [-Wmultichar]
1 | *a="?y���p%`�7O�9M�#";x;main(long n){scanf("%ld",&n);for(n<1e9+7?x=a[5-n/' �!�']:0;n%' �!�';)x=x*n--%';��';printf("%d",x);}
| ^~~~~~
main.c:1:91: warning: multi-character character constant [-Wmultichar]
1 | *a="?y���p%`�7O�9M�#";x;main(long n){scanf("%ld",&n);for(n<1e9+7?x=a[5-n/' �!�']:0;n%' �!�';)x=x*n--%';��';printf("%d",x);}
| ^~~~~~~~~~
ma
ソースコード
*a="?yp%`7O9M#";x;main(long n){scanf("%ld",&n);for(n<1e9+7?x=a[5-n/' !']:0;n%' !';)x=x*n--%';';printf("%d",x);}
lpha_z