Pagini recente » Borderou de evaluare (job #586898) | Borderou de evaluare (job #1551440) | Borderou de evaluare (job #1202615) | Borderou de evaluare (job #242431) | Borderou de evaluare (job #2888722)
Borderou de evaluare (job #2888722)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:17:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
17 | for (int i = 0; i < N; i++) {
| ~~^~~
main.cpp:22:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
22 | for (int i = 0; i < N; i++) {
| ~~^~~
main.cpp:28:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
28 | for (int j = i+1; j < i+1+T && j < N; j++) {
| ~~^~~~~~~
main.cpp:28:42: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
28 | for (int j = i+1; j < i+1+T && j < N; j++) {
| ~~^~~
main.cpp:29:50: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
29 | if (lista_cost[j]*lista_cantitate[j] > lista_cost[i]*lista_cantitate[j] + S * (j-i) * lista_cantitate[j]) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:30:70: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
30 | if (lista_rezolvat[j] == 0 || lista_rezolvat_pret[j] > lista_cost[i]*lista_cantitate[j] + S * (j-i) * lista_cantitate[j]) {
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 1ms | 184kb | OK | 10 | 0 |
2 | 1ms | 184kb | OK | 10 |
3 | 1ms | 184kb | Incorect | 0 |
4 | 29ms | 901kb | Incorect | 0 | 0 |
5 | 65ms | 1294kb | Incorect | 0 |
6 | 85ms | 1568kb | Incorect | 0 |
7 | 61ms | 1748kb | Incorect | 0 | 0 |
8 | 45ms | 1413kb | Incorect | 0 | 0 |
9 | 42ms | 1417kb | Incorect | 0 | 0 |
10 | 58ms | 1671kb | Incorect | 0 | 0 |
Punctaj total | 0 |