Pagini recente » Borderou de evaluare (job #1118816) | Borderou de evaluare (job #635413) | Cod sursa (job #282954) | Borderou de evaluare (job #635439) | Borderou de evaluare (job #2191354)
Borderou de evaluare (job #2191354)
Raport evaluator
Compilare:
user.cpp: In function ‘int maxSlidingWindow(std::vector<int>&, int)’:
user.cpp:23:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = k; i <= nums.size(); i++) {
~~^~~~~~~~~~~~~~
user.cpp:25:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i == nums.size()) break;
~~^~~~~~~~~~~~~~
user.cpp:14:6: warning: unused variable ‘difference_max’ [-Wunused-variable]
int difference_max = -1;
^~~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 1320kb | OK | 5 | 5 |
| 2 | 0ms | 1320kb | OK | 5 | 5 |
| 3 | 0ms | 1368kb | OK | 5 | 5 |
| 4 | 0ms | 1368kb | OK | 5 | 5 |
| 5 | 32ms | 1964kb | Incorect | 0 | 0 |
| 6 | 32ms | 1968kb | OK | 5 | 5 |
| 7 | 76ms | 3280kb | Incorect | 0 | 0 |
| 8 | 76ms | 3276kb | Incorect | 0 |
| 9 | 72ms | 3280kb | Incorect | 0 |
| 10 | 72ms | 3280kb | Incorect | 0 | 0 |
| 11 | 76ms | 3280kb | Incorect | 0 |
| 12 | 72ms | 3280kb | Incorect | 0 |
| 13 | 748ms | 22112kb | Incorect | 0 | 0 |
| 14 | 752ms | 28604kb | Incorect | 0 |
| 15 | 728ms | 21068kb | Incorect | 0 |
| 16 | 1540ms | 55580kb | Incorect | 0 |
| 17 | 1512ms | 41124kb | Incorect | 0 |
| 18 | 1500ms | 54612kb | Incorect | 0 |
| 19 | 1460ms | 42136kb | Incorect | 0 |
| 20 | 1460ms | 41124kb | Incorect | 0 |
| Punctaj total | 25 |