/ Vijos /

记录详情

Compile Error

foo.cpp:1:1: error: 'include' does not name a type
 include<cstdio>
 ^
foo.cpp: In function 'int kruskal()':
foo.cpp:13:16: error: 'sort' was not declared in this scope
  sort(r,r+m,cmp); 
                ^
foo.cpp: In function 'int main()':
foo.cpp:30:25: error: 'scanf' was not declared in this scope
  scanf("%d%d%d",&n,&m,&k); 
                         ^
foo.cpp:34:27: error: 'printf' was not declared in this scope
  if(ans>0) printf("%d",ans); 
                           ^
foo.cpp:35:25: error: 'printf' was not declared in this scope
  else printf("No Answer"); 
                         ^

信息

递交者
类型
递交
题目
P1234 口袋的天空
语言
C++
递交时间
2016-02-28 16:46:29
评测时间
2016-02-28 16:46:30
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes