Pagini recente » Borderou de evaluare (job #2821231) | Borderou de evaluare (job #562314) | Borderou de evaluare (job #729388) | Borderou de evaluare (job #1734632) | Borderou de evaluare (job #3181330)
Borderou de evaluare (job #3181330)
Raport evaluator
Compilare:
main.cpp: In function 'void ParseazaExpresia(const std::string&, int&, std::vector<Monom>&)':
main.cpp:21:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | while (i < expresie.size()) {
| ~~^~~~~~~~~~~~~~~~~
main.cpp:37:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
37 | if (coeficient == 0)
| ^
main.cpp:38:21: warning: 'cp' may be used uninitialized [-Wmaybe-uninitialized]
38 | if (cp == '0')
| ^~
main.cpp:22:14: note: 'cp' was declared here
22 | char cp, c = expresie[i];
| ^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Corect | 1 |
2 | 0ms | 303kb | Corect | 1 |
3 | 0ms | 303kb | Corect | 4 |
4 | 0ms | 303kb | Corect | 4 |
5 | 0ms | 303kb | Corect | 5 |
6 | 0ms | 303kb | Corect | 5 |
7 | 1ms | 303kb | Corect | 5 |
8 | 2ms | 303kb | Corect | 5 |
9 | 0ms | 303kb | Corect | 5 |
10 | 1ms | 557kb | Corect | 5 |
11 | 0ms | 303kb | Corect | 5 |
12 | 6ms | 823kb | Corect | 5 |
13 | 166ms | 66781kb | Memory limit exceeded | 0 |
14 | 123ms | 35143kb | Corect | 5 |
15 | 168ms | 47357kb | Corect | 5 |
16 | 113ms | 31498kb | Corect | 5 |
17 | 0ms | 303kb | Corect | 5 |
18 | 148ms | 39849kb | Corect | 5 |
19 | 147ms | 31584kb | Corect | 5 |
20 | 128ms | 5296kb | Corect | 5 |
21 | 6ms | 2392kb | Corect | 5 |
22 | 143ms | 17297kb | Corect | 5 |
Punctaj total | 95 |