Borderou de evaluare (job #1782867)

Utilizator sergiunascaSergiu Nasca sergiunasca Data 18 octombrie 2016 16:46:19
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:39:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < a.length(); ++i) ^ user.cpp:45: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:85:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 1; i < a.size(); ++i) ^ user.cpp:88:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < sol.size(); ++j) ^ user.cpp:102: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:105:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < sol.size(); ++i) ^ user.cpp:55: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:56: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:60: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:65:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", str); ^ user.cpp:77: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
10ms448kbKilled by signal 11(SIGSEGV).00
24ms1056kbKilled by signal 11(SIGSEGV).0
30ms492kbIncorect.0
40ms560kbIncorect.0
50ms504kbOK.33
640ms764kbKilled by signal 11(SIGSEGV).00
70ms500kbOK.33
892ms820kbKilled by signal 11(SIGSEGV).00
9704ms2080kbKilled by signal 11(SIGSEGV).00
10280ms992kbKilled by signal 11(SIGSEGV).00
11532ms1876kbKilled by signal 11(SIGSEGV).00
120ms432kbKilled by signal 11(SIGSEGV).00
130ms412kbKilled by signal 11(SIGSEGV).00
14256ms1352kbKilled by signal 11(SIGSEGV).00
15300ms1532kbKilled by signal 11(SIGSEGV).00
16464ms1528kbKilled by signal 11(SIGSEGV).00
17412ms1492kbKilled by signal 11(SIGSEGV).00
18376ms2084kbKilled by signal 11(SIGSEGV).00
19400ms2084kbKilled by signal 11(SIGSEGV).00
20684ms2088kbKilled by signal 11(SIGSEGV).00
21684ms2096kbKilled by signal 11(SIGSEGV).00
220ms432kbKilled by signal 11(SIGSEGV).00
Punctaj total6

Ceva nu functioneaza?