记录详情

Accepted

/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 Accepted 2ms 212.0 KiB
#2 Accepted 2ms 204.0 KiB

信息

递交者
类型
递交
题目
并查集LibreOJ#109
语言
C
递交时间
2017-10-01 08:29:53
评测时间
2017-10-01 08:29:53
评测机
分数
100
总耗时
4ms
峰值内存
212.0 KiB