/ Vijos /

记录详情

Compile Error

foo.cpp:1:1: error: 'include' does not name a type
 include <iostream> include <stdio.h>
 ^
foo.cpp: In function 'int find(int, int)':
foo.cpp:21:51: error: 'min' was not declared in this scope
 for( i = max( x - d , 0 ) ; i <= min( 128 , x + d ) ; i++ )
                                                   ^
foo.cpp: In function 'int main()':
foo.cpp:31:18: error: 'scanf' was not declared in this scope
 scanf( "%d" , &d );
                  ^
foo.cpp:45:1: error: 'cout' was not declared in this scope
 cout << sum << " " << maxd << endl;
 ^
foo.cpp:45:31: error: 'endl' was not declared in this scope
 cout << sum << " " << maxd << endl;
                               ^

信息

递交者
类型
递交
题目
P1908 无线网络发射器选址
语言
C++
递交时间
2015-09-29 20:37:56
评测时间
2015-09-29 20:37:57
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes