/ Vijos /

记录详情

Compile Error

/in/foo.cc:65:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
/in/foo.cc:67:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
/in/foo.cc: In function 'void Init()':
/in/foo.cc:19:22: error: expected primary-expression before '=' token
 for ( int i = 2 ; i ?= ( f[i + 1][j + 1] * ( n - 1 ) + j ) / double ( n - 1 ) ;
                      ^
/in/foo.cc:19:35: error: 'j' was not declared in this scope
 for ( int i = 2 ; i ?= ( f[i + 1][j + 1] * ( n - 1 ) + j ) / double ( n - 1 ) ;
                                   ^
/in/foo.cc:19:79: error: expected ':' before ';' token
 for ( int i = 2 ; i ?= ( f[i + 1][j + 1] * ( n - 1 ) + j ) / double ( n - 1 ) ;
                                                                               ^
/in/foo.cc:19:79: error: expected primary-expression before ';' token
/in/foo.cc:21:1: error: expected primary-expression before '}' token
 } ;
 ^
/in/foo.cc:21:1: error: expected ')' before '}' token
/in/foo.cc:21:1: error: expected primary-expression before '}' token
/in/foo.cc: At global scope:
/in/foo.cc:23:1: error: expected unqualified-id before 'for'
 for ( int i = 0 ; i ?= f[2][i] ;
 ^~~
/in/foo.cc:23:19: error: 'i' does not name a type
 for ( int i = 0 ; i ?= f[2][i] ;
                   ^
/in/foo.cc:25:1: error: expected unqualified-id before 'if'
 if ( ans == - oo ) ans = - 1 ;
 ^~
/in/foo.cc:27:1: error: expected declaration before '}' token
 } ;
 ^

信息

递交者
类型
递交
题目
P1594 锁妖塔
语言
C++
递交时间
2021-12-14 20:27:47
评测时间
2021-12-14 20:28:03
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes