/ 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:20: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:29:18: error: 'scanf' was not declared in this scope
 scanf( "%d" , &d );
                  ^
foo.cpp:43:1: error: 'cout' was not declared in this scope
 cout << sum << " " << maxd << endl;
 ^
foo.cpp:43:31: error: 'endl' was not declared in this scope
 cout << sum << " " << maxd << endl;
                               ^

信息

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