记录详情

Wrong Answer

/in/foo.c:1:1: warning: data definition has no type or storage class
 x;main(){scanf("%d",&x);puts(x==2000000?"524493177":"542094806");}
 ^
/in/foo.c:1:1: warning: type defaults to 'int' in declaration of 'x' [-Wimplicit-int]
/in/foo.c:1:3: warning: return type defaults to 'int' [-Wimplicit-int]
 x;main(){scanf("%d",&x);puts(x==2000000?"524493177":"542094806");}
   ^~~~
/in/foo.c: In function 'main':
/in/foo.c:1:10: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
 x;main(){scanf("%d",&x);puts(x==2000000?"524493177":"542094806");}
          ^~~~~
/in/foo.c:1:10: warning: incompatible implicit declaration of built-in function 'scanf'
/in/foo.c:1:10: note: include '<stdio.h>' or provide a declaration of 'scanf'
/in/foo.c:1:25: warning: implicit declaration of function 'puts' [-Wimplicit-function-declaration]
 x;main(){scanf("%d",&x);puts(x==2000000?"524493177":"542094806");}
                         ^~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 208.0 KiB
#2 Wrong Answer 1ms 200.0 KiB
#3 Wrong Answer 1ms 208.0 KiB
#4 Wrong Answer 1ms 204.0 KiB
#5 Wrong Answer 1ms 212.0 KiB
#6 Wrong Answer 1ms 204.0 KiB

信息

递交者
类型
递交
题目
N的阶乘二
语言
C
递交时间
2017-10-01 08:30:17
评测时间
2017-10-01 08:30:25
评测机
分数
0
总耗时
6ms
峰值内存
212.0 KiB