foo.cc: In function 'void Init()':
foo.cc:15:22: error: expected primary-expression before '=' token
15 | for ( int i = 2 ; i ?= ( f[i + 1][j + 1] * ( n - 1 ) + j ) / double ( n - 1 ) ;
| ^
foo.cc:15:35: error: 'j' was not declared in this scope
15 | for ( int i = 2 ; i ?= ( f[i + 1][j + 1] * ( n - 1 ) + j ) / double ( n - 1 ) ;
| ^
foo.cc:15:78: error: expected ':' before ';' token
15 | for ( int i = 2 ; i ?= ( f[i + 1][j + 1] * ( n - 1 ) + j ) / double ( n - 1 ) ;
| ^~
| :
foo.cc:15:79: error: expected primary-expression before ';' token
15 | for ( int i = 2 ; i ?= ( f[i + 1][j + 1] * ( n - 1 ) + j ) / double ( n - 1 ) ;
| ^
foo.cc:17:1: error: expected primary-expression before '}' token
17 | } ;
| ^
foo.cc:15:80: error: expected ')' before '}' token
15 | for ( int i = 2 ; i ?= ( f[i + 1][j + 1] * ( n - 1 ) + j ) / double ( n - 1 ) ;
| ~ ^
| )
16 |
17 | } ;
| ~
foo.cc:17:1: error: expected primary-expression before '}' token
17 | } ;
| ^
foo.cc: At global scope:
foo.cc:19:1: error: expected unqualified-id before 'for'
19 | for ( int i = 0 ; i ?= f[2][i] ;
| ^~~
foo.cc:19:19: error: 'i' does not name a type
19 | for ( int i = 0 ; i ?= f[2][i] ;
| ^
foo.cc:21:1: error: expected unqualified-id before 'if'
21 | if ( ans == - oo ) ans = - 1 ;
| ^~
foo.cc:23:1: error: expected declaration before '}' token
23 | } ;
| ^
foo.cc: In function 'int main()':
foo.cc:68:1: error: 'Dp' was not declared in this scope
68 | Dp () ;
| ^~
foo.cc: In function 'void Init()':
foo.cc:13:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
13 | scanf ( "%d%d%d", &n, &v, &k ) ;
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务