Borderou de evaluare (job #1254)

Utilizator wefgefAndrei Grigorean wefgef Data 13 decembrie 2006 05:36:06
Problema Popandai2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function `void solve()': user.cpp:39: error: parse error before `for' user.cpp:39: error: parse error before `)' token user.cpp:36: warning: unused variable `int j' user.cpp:36: warning: unused variable `int p1' user.cpp:36: warning: unused variable `int p2' user.cpp:39: warning: unused variable `double val' user.cpp:39: warning: statement with no effect user.cpp: At global scope: user.cpp:44: error: ISO C++ forbids declaration of `prev' with no type user.cpp:44: error: conflicting types for `int prev[0]' user.cpp:13: error: previous declaration as `int prev[1024]' user.cpp:45: error: ISO C++ forbids declaration of `next' with no type user.cpp:45: error: variable-size type declared outside of any function user.cpp:45: error: conflicting types for `int next[2]' user.cpp:13: error: previous declaration as `int next[1024]' user.cpp:47: error: parse error before `for' user.cpp:47: error: parse error before `;' token user.cpp:50: error: ISO C++ forbids declaration of `p2' with no type user.cpp:50: error: `i' was not declared in this scope user.cpp:51: error: parse error before `for' user.cpp:51: error: parse error before `;' token user.cpp:55: error: ISO C++ forbids declaration of `val' with no type user.cpp:55: error: `i' was not declared in this scope user.cpp:55: error: `j' was not declared in this scope

Ceva nu functioneaza?