/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'void Dp()':
foo.cpp:29:42: error: expected primary-expression before '?' token
  if ( f[i + 1][j - 1] != - oo ) f[i][j] >?= ( f[i + 1][j - 1] * ( n - 1 ) + j ) / double ( n - 1 ) ; 
                                          ^
foo.cpp:29:43: error: expected primary-expression before '=' token
  if ( f[i + 1][j - 1] != - oo ) f[i][j] >?= ( f[i + 1][j - 1] * ( n - 1 ) + j ) / double ( n - 1 ) ; 
                                           ^
foo.cpp:29:100: error: expected ':' before ';' token
  if ( f[i + 1][j - 1] != - oo ) f[i][j] >?= ( f[i + 1][j - 1] * ( n - 1 ) + j ) / double ( n - 1 ) ; 
                                                                                                    ^
foo.cpp:29:100: error: expected primary-expression before ';' token
foo.cpp:30:37: error: expected primary-expression before '?' token
 if ( f[i + 1][j] != - oo ) f[i][j] >?= ( f[i + 1][j] * ( n - 1 ) + j ) / double ( n - 1 ) ; 
                                     ^
foo.cpp:30:38: error: expected primary-expression before '=' token
 if ( f[i + 1][j] != - oo ) f[i][j] >?= ( f[i + 1][j] * ( n - 1 ) + j ) / double ( n - 1 ) ; 
                                      ^
foo.cpp:30:91: error: expected ':' before ';' token
 if ( f[i + 1][j] != - oo ) f[i][j] >?= ( f[i + 1][j] * ( n - 1 ) + j ) / double ( n - 1 ) ; 
                                                                                           ^
foo.cpp:30:91: error: expected primary-expression before ';' token
foo.cpp:31:41: error: expected primary-expression before '?' token
 if ( f[i + 1][j + 1] != - oo ) f[i][j] >?= ( f[i + 1][j + 1] * ( n - 1 ) + j ) / double ( n - 1 ) ; 
                                         ^
foo.cpp:31:42: error: expected primary-expression before '=' token
 if ( f[i + 1][j + 1] != - oo ) f[i][j] >?= ( f[i + 1][j + 1] * ( n - 1 ) + j ) / double ( n - 1 ) ; 
                                          ^
foo.cpp:31:99: error: expected ':' before ';' token
 if ( f[i + 1][j + 1] != - oo ) f[i][j] >?= ( f[i + 1][j + 1] * ( n - 1 ) + j ) / double ( n - 1 ) ; 
                                                                                                   ^
foo.cpp:31:99: error: expected primary-expression before ';' token
foo.cpp:34:7: error: expected primary-expression before '?' token
  ans >?= f[2][i] ;
       ^
foo.cpp:34:8: error: expected primary-expression before '=' token
  ans >?= f[2][i] ;
        ^
foo.cpp:34:18: error: expected ':' before ';' token
  ans >?= f[2][i] ;
                  ^
foo.cpp:34:18: error: expected primary-expression before ';' token

信息

递交者
类型
递交
题目
P1594 锁妖塔
语言
C++
递交时间
2015-11-04 22:26:04
评测时间
2015-11-04 22:26:06
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes