/ Vijos /

记录详情

Compile Error

/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: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:58
评测时间
2018-01-17 20:59:58
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes