/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'int main()':
foo.cpp:98:2: error: expected primary-expression before '?' token
 {?
  ^
foo.cpp:99:2: error: expected primary-expression before 'int'
  int n=read(),lowest=read();
  ^
foo.cpp:99:2: error: expected ':' before 'int'
foo.cpp:99:2: error: expected primary-expression before 'int'
foo.cpp:99:2: error: expected ';' before 'int'
foo.cpp:102:8: error: 'n' was not declared in this scope
  while(n--)
        ^
foo.cpp:105:24: error: 'lowest' was not declared in this scope
   if(s[0]=='I') {if(x>=lowest) insert(root,x-sum),++all;}
                        ^
foo.cpp:109:22: error: 'lowest' was not declared in this scope
    while((t=Pre(root,lowest-sum-1))!=-1) 
                      ^

信息

递交者
类型
递交
题目
P1507 郁闷的出纳员
语言
C++
递交时间
2016-12-29 19:01:09
评测时间
2016-12-29 19:01:10
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes