Borderou de evaluare (job #2735745)

Utilizator cyg_vladioanBirsan Vlad cyg_vladioan Data 2 aprilie 2021 19:20:42
Problema Polihroniade Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void solve(int, std::__cxx11::string, char)': main.cpp:24:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0 ; i < s.size() ; i ++) ~~^~~~~~~~~~ main.cpp: In function 'int cntop(int, int, std::__cxx11::string, std::__cxx11::string)': main.cpp:39:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0 ; i < l.length() ; i ++) ~~^~~~~~~~~~~~ main.cpp:46:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0 ; i < c.length() ; i ++) ~~^~~~~~~~~~~~ main.cpp: In function 'void metamorfoza(int, int, std::__cxx11::string, std::__cxx11::string)': main.cpp:59:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0 ; i < l.length() ; i ++) ~~^~~~~~~~~~~~ main.cpp:66:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0 ; i < c.length() ; i ++) ~~^~~~~~~~~~~~ main.cpp:74:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0 ; i < l.length() ; i ++) ~~^~~~~~~~~~~~ main.cpp:77:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0 ; i < c.length() ; i ++) ~~^~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:102:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = 0 ; j < v.size() && !ok ; j ++) ~~^~~~~~~~~~ main.cpp:117:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0 ; i < v.size() && ok ; i ++) ~~^~~~~~~~~~ main.cpp:120:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = 0 ; j < v[i].size() ; j ++) ~~^~~~~~~~~~~~~ main.cpp:125:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = 0 ; j < v[0].length() && ok ; j ++) ~~^~~~~~~~~~~~~~~ main.cpp:84:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("polihroniade.in", "r", stdin); ^ main.cpp:85:45: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("polihroniade.out", "w", stdout); ^ main.cpp:87:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &p, &tst); ^ main.cpp:94:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ main.cpp:161:46: warning: 'jmin' may be used uninitialized in this function [-Wmaybe-uninitialized]
Test Timp executie Memorie folosita Mesaj Punctaj/test
110ms131kbCorect!14
268ms131kbCorect!13
376ms131kbCorect!13
47ms131kbCorect!5
511ms131kbCorect!5
618ms131kbCorect!6
732ms131kbCorect!6
860ms131kbCorect!6
9160ms196kbCorect!6
108ms131kbCorect!2
1111ms131kbCorect!4
1218ms131kbCorect!4
1332ms131kbCorect!4
1460ms131kbCorect!6
15135ms131kbCorect!6
Punctaj total100

Ceva nu functioneaza?