scufita.cpp:48:1: error: stray '\342' in program if((a[i-1][j]>0)&&(a[i-1][j]+x[k]>=y[k+1])) { tc[k]=’N’; f(i-1,j,k+1); } ^ scufita.cpp:48:1: error: stray '\200' in program scufita.cpp:48:1: error: stray '\231' in program scufita.cpp:48:1: error: stray '\342' in program scufita.cpp:48:1: error: stray '\200' in program scufita.cpp:48:1: error: stray '\231' in program scufita.cpp:49:1: error: stray '\342' in program if((a[i+1][j]>0)&&(a[i+1][j]+x[k]>=y[k+1])) { tc[k]=’S’; f(i+1,j,k+1); } ^ scufita.cpp:49:1: error: stray '\200' in program scufita.cpp:49:1: error: stray '\231' in program scufita.cpp:49:1: error: stray '\342' in program scufita.cpp:49:1: error: stray '\200' in program scufita.cpp:49:1: error: stray '\231' in program scufita.cpp:50:1: error: stray '\342' in program if((a[i][j-1]>0)&&(a[i][j-1]+x[k]>=y[k+1])) { tc[k]=’V’; f(i,j-1,k+1); } ^ scufita.cpp:50:1: error: stray '\200' in program scufita.cpp:50:1: error: stray '\231' in program scufita.cpp:50:1: error: stray '\342' in program scufita.cpp:50:1: error: stray '\200' in program scufita.cpp:50:1: error: stray '\231' in program scufita.cpp:51:1: error: stray '\342' in program if((a[i][j+1]>0)&&(a[i][j+1]+x[k]>=y[k+1])) { tc[k]=’E’; f(i,j+1,k+1); } ^ scufita.cpp:51:1: error: stray '\200' in program scufita.cpp:51:1: error: stray '\231' in program scufita.cpp:51:1: error: stray '\342' in program scufita.cpp:51:1: error: stray '\200' in program scufita.cpp:51:1: error: stray '\231' in program scufita.cpp:1:1: error: 'import' does not name a type import java.io.*; ^ scufita.cpp:4:20: error: ISO C++ forbids in-class initialization of non-const static member 'Scufita::maxc' static int n, maxc=0; ^ scufita.cpp:5:11: error: expected unqualified-id before '[' token static int[][] a,b; ^ scufita.cpp:6:11: error: expected unqualified-id before '[' token static int[] x,y; ^ scufita.cpp:7:12: error: expected unqualified-id before '[' token static char[] tc=new char[16]; ^ scufita.cpp:8:12: error: expected unqualified-id before '[' token static char[] tmax=new char[16]; ^ scufita.cpp:9:8: error: expected ':' before 'static' public static void main(String[] args) throws IOException ^ scufita.cpp:9:25: error: 'String' has not been declared public static void main(String[] args) throws IOException ^ scufita.cpp:9:34: error: expected ',' or '...' before 'args' public static void main(String[] args) throws IOException ^ scufita.cpp:9:38: error: expected ';' at end of member declaration public static void main(String[] args) throws IOException ^ scufita.cpp:9:40: error: 'throws' does not name a type public static void main(String[] args) throws IOException ^ scufita.cpp:33:34: error: expected ';' at end of member declaration static void f(int i, int j, int k) throws IOException ^ scufita.cpp:33:36: error: 'throws' does not name a type static void f(int i, int j, int k) throws IOException ^ scufita.cpp:68:1: error: expected ';' after class definition }// class ^ scufita.cpp: In static member function 'static void Scufita::culegeLupul(int, int, int)': scufita.cpp:57:1: error: 'y' was not declared in this scope y[k]=y[k-1]+b[i][j]; ^ scufita.cpp:57:13: error: 'b' was not declared in this scope y[k]=y[k-1]+b[i][j]; ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema face parte din prima categorie. Soluția propusă de tine va fi evaluată astfel:
Suma punctajelor acordate pe testele utilizate pentru verificare este 100. Astfel, soluția ta poate obține cel mult 100 de puncte, caz în care se poate considera corectă.