Pagini recente » Borderou de evaluare (job #527144) | Borderou de evaluare (job #1066804) | Borderou de evaluare (job #1046309) | Borderou de evaluare (job #1843380) | Borderou de evaluare (job #2601153)
Borderou de evaluare (job #2601153)
Raport evaluator
Compilare:
main.cpp: In function 'std::pair<int, int> solveSD(int)':
main.cpp:42:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if(i+1<=j)
^
main.cpp: In function 'int main()':
main.cpp:107:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(;egal<ec.length();egal++)
~~~~^~~~~~~~~~~~
main.cpp: In function 'std::pair<int, int> solveSD(int)':
main.cpp:53:70: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized]
else if(ec[i+1]=='+' || ec[i+1]=='-' || ec[i+1]=='=' || (i+1==j))
main.cpp:27:27: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized]
semn=ec[i],i++;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK! | 10 |
| 2 | 2ms | 131kb | OK! | 10 |
| 3 | 2ms | 131kb | OK! | 10 |
| 4 | 2ms | 131kb | OK! | 10 |
| 5 | 2ms | 131kb | OK! | 10 |
| 6 | 2ms | 131kb | OK! | 10 |
| 7 | 2ms | 131kb | OK! | 10 |
| 8 | 2ms | 131kb | OK! | 10 |
| 9 | 2ms | 131kb | OK! | 10 |
| 10 | 2ms | 131kb | OK! | 10 |
| Punctaj total | 100 |