Borderou de evaluare (job #2251820)

Utilizator mihai.alphamihai craciun mihai.alpha Data 1 octombrie 2018 23:24:54
Problema Balbaiala Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:32:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0;i < t.size() && ok;i++) { ~~^~~~~~~~~~ user.cpp:35:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(r1 + r + pas >= pos[t[i] - 'a'].size()) { ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ user.cpp:38:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(r1 + pas1 < pos[t[i] - 'a'].size() && pos[t[i] - 'a'][r1 + pas1] < curpos) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ user.cpp:46:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(r1 + r + pas - 1 >= pos[t[i] - 'a'].size()) ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ user.cpp:31:21: warning: unused variable ‘aux’ [-Wunused-variable] int aux = r + pas; ^~~ user.cpp:13:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("balbaiala.in", "r", stdin); ^ user.cpp:14:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("balbaiala.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms1316kbOK1020
20ms1312kbOK10
340ms1356kbOK1020
492ms1360kbOK10
5Depăşit1512kbTime limit exceeded.00
6Depăşit1552kbTime limit exceeded.0
7Depăşit1548kbTime limit exceeded.0
8Depăşit2060kbTime limit exceeded.00
9Depăşit2056kbTime limit exceeded.0
10Depăşit2008kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?