Pagini recente » Borderou de evaluare (job #150826) | Borderou de evaluare (job #2286594) | Borderou de evaluare (job #2759565) | Borderou de evaluare (job #2641868) | Borderou de evaluare (job #1244233)
Borderou de evaluare (job #1244233)
Raport evaluator
Compilare:
user.cpp: In function ‘int rez(int, int, int, int)’:
user.cpp:52:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return max(max(a[x1][y1][lg[x2-x1+1]][lg[y2-y1+1]], a[x2-(1<<lg[x2-x1+1])+1][y1][lg[x2-x1+1]][lg[y2-y1+1]]),max(a[x1][y2-(1<<lg[y2-y1+1])+1][lg[x2-x1+1]][lg[y2-y1+1]], a[x2-(1<<lg[x2-x1+1])+1][y2-(1<<lg[y2-y1+1])+1][lg[x2-x1+1]][lg[y2-y1+1]]));
^
user.cpp:52:54: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return max(max(a[x1][y1][lg[x2-x1+1]][lg[y2-y1+1]], a[x2-(1<<lg[x2-x1+1])+1][y1][lg[x2-x1+1]][lg[y2-y1+1]]),max(a[x1][y2-(1<<lg[y2-y1+1])+1][lg[x2-x1+1]][lg[y2-y1+1]], a[x2-(1<<lg[x2-x1+1])+1][y2-(1<<lg[y2-y1+1])+1][lg[x2-x1+1]][lg[y2-y1+1]]));
^
user.cpp:52:97: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return max(max(a[x1][y1][lg[x2-x1+1]][lg[y2-y1+1]], a[x2-(1<<lg[x2-x1+1])+1][y1][lg[x2-x1+1]][lg[y2-y1+1]]),max(a[x1][y2-(1<<lg[y2-y1+1])+1][lg[x2-x1+1]][lg[y2-y1+1]], a[x2-(1<<lg[x2-x1+1])+1][y2-(1<<lg[y2-y1+1])+1][lg[x2-x1+1]][lg[y2-y1+1]]));
^
user.cpp:52:110: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return max(max(a[x1][y1][lg[x2-x1+1]][lg[y2-y1+1]], a[x2-(1<<lg[x2-x1+1])+1][y1][lg[x2-x1+1]][lg[y2-y1+1]]),max(a[x1][y2-(1<<lg[y2-y1+1])+1][lg[x2-x1+1]][lg[y2-y1+1]], a[x2-(1<<lg[x2-x1+1])+1][y2-(1<<lg[y2-y1+1])+1][lg[x2-x1+1]][lg[y2-y1+1]]));
^
user.cpp:52:157: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return max(max(a[x1][y1][lg[x2-x1+1]][lg[y2-y1+1]], a[x2-(1<<lg[x2-x1+1])+1][y1][lg[x2-x1+1]][lg[y2-y1+1]]),max(a[x1][y2-(1<<lg[y2-y1+1])+1][lg[x2-x1+1]][lg[y2-y1+1]], a[x2-(1<<lg[x2-x1+1])+1][y2-(1<<lg[y2-y1+1])+1][lg[x2-x1+1]][lg[y2-y1+1]]));
^
user.cpp:52:170: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return max(max(a[x1][y1][lg[x2-x1+1]][lg[y2-y1+1]], a[x2-(1<<lg[x2-x1+1])+1][y1][lg[x2-x1+1]][lg[y2-y1+1]]),max(a[x1][y2-(1<<lg[y2-y1+1])+1][lg[x2-x1+1]][lg[y2-y1+1]], a[x2-(1<<lg[x2-x1+1])+1][y2-(1<<lg[y2-y1+1])+1][lg[x2-x1+1]][lg[y2-y1+1]]));
^
user.cpp:52:232: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return max(max(a[x1][y1][lg[x2-x1+1]][lg[y2-y1+1]], a[x2-(1<<lg[x2-x1+1])+1][y1][lg[x2-x1+1]][lg[y2-y1+1]]),max(a[x1][y2-(1<<lg[y2-y1+1])+1][lg[x2-x1+1]][lg[y2-y1+1]], a[x2-(1<<lg[x2-x1+1])+1][y2-(1<<lg[y2-y1+1])+1][lg[x2-x1+1]][lg[y2-y1+1]]));
^
user.cpp:52:245: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return max(max(a[x1][y1][lg[x2-x1+1]][lg[y2-y1+1]], a[x2-(1<<lg[x2-x1+1])+1][y1][lg[x2-x1+1]][lg[y2-y1+1]]),max(a[x1][y2-(1<<lg[y2-y1+1])+1][lg[x2-x1+1]][lg[y2-y1+1]], a[x2-(1<<lg[x2-x1+1])+1][y2-(1<<lg[y2-y1+1])+1][lg[x2-x1+1]][lg[y2-y1+1]]));
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 584kb | OK | 10 |
| 2 | 0ms | 632kb | OK | 10 |
| 3 | 0ms | 644kb | OK | 10 |
| 4 | 200ms | 5256kb | OK | 10 |
| 5 | 204ms | 5380kb | OK | 10 |
| 6 | 212ms | 5304kb | OK | 10 |
| 7 | Depăşit | 5156kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 5176kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 5396kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 5036kb | Time limit exceeded. | 0 |
| Punctaj total | 60 |