Pagini recente » Borderou de evaluare (job #2749823) | Borderou de evaluare (job #2725443) | Borderou de evaluare (job #2346379) | Borderou de evaluare (job #2318729) | Borderou de evaluare (job #3176461)
Borderou de evaluare (job #3176461)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:13:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | for (i = 0; i < s.size(); i++)
| ~~^~~~~~~~~~
main.cpp:27:24: warning: operation on 'top' may be undefined [-Wsequence-point]
27 | st[top = 1] = max(st[top], x);
| ~~~~^~~
main.cpp:13:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
13 | for (i = 0; i < s.size(); i++)
| ^~~
main.cpp:52:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
52 | fout << st[top] << "\n";
| ^~~~
main.cpp:10:15: warning: unused variable 'y' [-Wunused-variable]
10 | int i, x, y;
| ^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | Incorect | 0 |
| 2 | 0ms | 303kb | OK | 5 |
| 3 | 0ms | 303kb | Incorect | 0 |
| 4 | 0ms | 303kb | OK | 5 |
| 5 | 0ms | 303kb | Incorect | 0 |
| 6 | 0ms | 303kb | Incorect | 0 |
| 7 | 0ms | 303kb | Incorect | 0 |
| 8 | 0ms | 303kb | Incorect | 0 |
| 9 | 0ms | 303kb | OK | 5 |
| 10 | 0ms | 303kb | Incorect | 0 |
| 11 | 0ms | 557kb | Incorect | 0 |
| 12 | 0ms | 557kb | Incorect | 0 |
| 13 | 0ms | 557kb | Incorect | 0 |
| 14 | 1ms | 557kb | Incorect | 0 |
| 15 | 1ms | 557kb | Incorect | 0 |
| 16 | 0ms | 557kb | Incorect | 0 |
| 17 | 0ms | 569kb | Incorect | 0 |
| 18 | 1ms | 557kb | Incorect | 0 |
| 19 | 1ms | 557kb | Incorect | 0 |
| 20 | 1ms | 557kb | Incorect | 0 |
| Punctaj total | 15 |