/ Vijos /

记录详情

Compile Error

/in/foo.cc:3:2: error: invalid preprocessing directive #incldue
 #incldue<algorithm>
  ^~~~~~~
/in/foo.cc:4:2: error: invalid preprocessing directive #incldue
 #incldue<cstdio>
  ^~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:22:31: warning: conversion lacks type at end of format [-Wformat=]
   scanf("%D%d",&a[i].h,&a[i].t);
                               ^
/in/foo.cc:22:31: warning: too many arguments for format [-Wformat-extra-args]
/in/foo.cc:23:20: error: 'sort' was not declared in this scope
  sort(a+1,a+n+1,cmp);
                    ^
/in/foo.cc:34:9: error: 't' was not declared in this scope
         t-=q.top();
         ^
/in/foo.cc:41:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::priority_queue<int>::size_type {aka long unsigned int}' [-Wformat=]
  printf("%d",q.size());
                      ^

信息

递交者
类型
递交
题目
P1513 紧急救援
语言
C++
递交时间
2018-01-17 20:59:42
评测时间
2018-01-17 20:59:42
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes