Pagini recente » Borderou de evaluare (job #2392356) | Borderou de evaluare (job #1442731) | Borderou de evaluare (job #329859) | Borderou de evaluare (job #2625960) | Borderou de evaluare (job #1743587)
Borderou de evaluare (job #1743587)
Raport evaluator
Compilare:
user.cpp: In instantiation of ‘DirectRMQ<Val, Compare, BlockSize>::DirectRMQ(Compare) [with Val = int; Compare = std::less<int>; int BlockSize = 10]’:
user.cpp:201:27: required from here
user.cpp:87:19: warning: ‘DirectRMQ<int>::blockTypes’ will be initialized after [-Wreorder]
BlockTypeRef *blockTypes;
^
user.cpp:83:56: warning: ‘DirectRMQ<int>::InBlockIndex (* DirectRMQ<int>::innerBlockTable)[10][10]’ [-Wreorder]
InBlockIndex(*innerBlockTable)[BlockSize][BlockSize];
^
user.cpp:15:5: warning: when initialized here [-Wreorder]
DirectRMQ(Compare comp_ = Compare()) :
^
user.cpp: In instantiation of ‘void DirectRMQ<Val, Compare, BlockSize>::buildInnerBlockTable(const Val*, DirectRMQ<Val, Compare, BlockSize>::Index) [with Val = int; Compare = std::less<int>; int BlockSize = 10; DirectRMQ<Val, Compare, BlockSize>::Index = int]’:
user.cpp:33:34: required from ‘void DirectRMQ<Val, Compare, BlockSize>::build(const Val*, DirectRMQ<Val, Compare, BlockSize>::Index) [with Val = int; Compare = std::less<int>; int BlockSize = 10; DirectRMQ<Val, Compare, BlockSize>::Index = int]’
user.cpp:202:21: required from here
user.cpp:119:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Val minV = p[left];
^
user.cpp:122:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(comp(p[right], minV)) {
^
user.cpp:123:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
minV = p[right];
^
user.cpp:126:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
table[left][right] = minI;
^
user.cpp:126:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
table[left][right] = minI;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 1836kb | OK | 10 | 10 |
2 | 0ms | 1836kb | OK | 10 | 10 |
3 | 4ms | 2100kb | OK | 10 | 10 |
4 | 80ms | 2364kb | OK | 10 | 10 |
5 | 96ms | 2364kb | OK | 10 | 20 |
6 | 604ms | 2628kb | OK | 10 |
7 | 612ms | 2628kb | OK | 10 | 10 |
8 | 712ms | 2892kb | OK | 10 | 10 |
9 | 788ms | 2892kb | OK | 10 | 10 |
10 | 880ms | 2892kb | OK | 10 | 10 |
Punctaj total | 100 |