Borderou de evaluare (job #1460950)

Utilizator costyv87Vlad Costin costyv87 Data 14 iulie 2015 14:06:15
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void solve(std::string, std::string, int*)’: user.cpp:21:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0;i<=b.size();i++) lines[0][i] = 0; ^ user.cpp:24:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=1;i<=a.size();i++,ok=1-ok) ^ user.cpp:26:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j=1;j<=b.size();j++) ^ user.cpp:36:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j=0;j<=b.size();j++) ^ user.cpp: In function ‘std::string lcs(std::string, std::string)’: user.cpp:52:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (found != string::npos) ^ user.cpp:79:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for ( int j = 0 ; j < ( b.size() + 1 ) ; j++ ) ^ user.cpp: In function ‘int main()’: user.cpp:118:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0;i<res.size();i++) ^ user.cpp:100:15: warning: unused variable ‘j’ [-Wunused-variable] int n,m,i,j,x; ^ user.cpp:101:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&n,&m); ^ user.cpp:106:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&x); ^ user.cpp:111:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms308kbRaspuns corect!10
20ms312kbRaspuns corect!10
30ms312kbRaspuns corect!10
40ms316kbRaspuns corect!10
50ms320kbRaspuns corect!10
64ms336kbRaspuns corect!10
712ms340kbRaspuns corect!10
812ms344kbRaspuns corect!10
912ms344kbRaspuns corect!10
1012ms344kbRaspuns corect!10
Punctaj total100

Ceva nu functioneaza?