/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'bool check(long int, long int, long int)':
foo.cpp:13:17: error: 'ture' was not declared in this scope
  if(s<=m)return ture;
                 ^
foo.cpp: In function 'int main()':
foo.cpp:24:1: error: 'MID' was not declared in this scope
 MID=(L+R)/2;
 ^
foo.cpp:17:18: warning: unused variable 'MTD' [-Wunused-variable]
 long l,m,n,i,L,R,MTD;
                  ^
foo.cpp: In function 'bool check(long int, long int, long int)':
foo.cpp:15:2: warning: control reaches end of non-void function [-Wreturn-type]
  }
  ^

信息

递交者
类型
递交
题目
P1981 跳石头
语言
C++
递交时间
2016-02-02 10:13:44
评测时间
2016-02-02 10:13:56
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes