Borderou de evaluare (job #1782853)

Utilizator sergiunascaSergiu Nasca sergiunasca Data 18 octombrie 2016 16:41:17
Problema Interesant Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 6

Raport evaluator

Compilare: user.cpp: In function ‘bool verify(std::string, std::string)’: user.cpp:30:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < a.length(); ++i) ^ user.cpp:36:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(pozb == b.length()) ^ user.cpp: In function ‘int main(int, const char**)’: user.cpp:76:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 1; i < a.size(); ++i) ^ user.cpp:79:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < sol.size(); ++j) ^ user.cpp:93:35: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘std::vector<std::pair<std::basic_string<char>, int> >::size_type {aka unsigned int}’ [-Wformat=] printf("%lu\n", sol.size()); ^ user.cpp:99:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < sol.size(); ++i) ^ user.cpp:46:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("interesant.in", "r", stdin); ^ user.cpp:47:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("interesant.out", "w", stdout); ^ user.cpp:51:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &c, &n); ^ user.cpp:56:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", str); ^ user.cpp:68:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", str); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms936kbKilled by signal 11(SIGSEGV).00
24ms1048kbKilled by signal 11(SIGSEGV).0
30ms480kbIncorect.0
40ms556kbIncorect.0
50ms500kbOK.33
60ms436kbKilled by signal 11(SIGSEGV).00
70ms500kbOK.33
892ms820kbKilled by signal 11(SIGSEGV).00
9704ms2076kbKilled by signal 11(SIGSEGV).00
10276ms996kbKilled by signal 11(SIGSEGV).00
110ms408kbKilled by signal 11(SIGSEGV).00
120ms408kbKilled by signal 11(SIGSEGV).00
13324ms1460kbKilled by signal 11(SIGSEGV).00
140ms428kbKilled by signal 11(SIGSEGV).00
15300ms1520kbKilled by signal 11(SIGSEGV).00
16464ms1528kbKilled by signal 11(SIGSEGV).00
170ms408kbKilled by signal 11(SIGSEGV).00
18376ms2076kbKilled by signal 11(SIGSEGV).00
19400ms2084kbKilled by signal 11(SIGSEGV).00
20684ms2084kbKilled by signal 11(SIGSEGV).00
21684ms2088kbKilled by signal 11(SIGSEGV).00
22552ms2088kbKilled by signal 11(SIGSEGV).00
Punctaj total6

Ceva nu functioneaza?