Pagini recente » Borderou de evaluare (job #3269924) | Borderou de evaluare (job #2976653) | Borderou de evaluare (job #42869) | Borderou de evaluare (job #2958965) | Borderou de evaluare (job #3146147)
Borderou de evaluare (job #3146147)
Raport evaluator
Compilare:
main.cpp: In function 'void bkt(char, char, int, short unsigned int)':
main.cpp:148:44: warning: array subscript has type 'char' [-Wchar-subscripts]
148 | for(int i = 0; i <= decomp[lvl].e; ++i){
| ^~~
main.cpp:150:37: warning: array subscript has type 'char' [-Wchar-subscripts]
150 | x *= decomp[lvl].p;
| ^~~
main.cpp: In function 'int main()':
main.cpp:169:35: warning: narrowing conversion of 'i' from 'int' to 'short unsigned int' [-Wnarrowing]
169 | pos.insert({v[i], i});
| ^
main.cpp: In instantiation of 'Dictionary<Key, Value>::Dictionary(int (*)(Key), Value) [with Key = int; Value = short unsigned int]':
main.cpp:76:57: required from here
main.cpp:40:24: warning: 'Dictionary<int, short unsigned int>::hash' will be initialized after [-Wreorder]
40 | int (* hash)(Key);
| ^~~~
main.cpp:38:23: warning: 'short unsigned int Dictionary<int, short unsigned int>::NOT_FOUND' [-Wreorder]
38 | Value NOT_FOUND;
| ^~~~~~~~~
main.cpp:44:17: warning: when initialized here [-Wreorder]
44 | Dictionary(int (* _hash)(Key), Value _NOT_FOUND) : hash(_hash), NOT_FOUND(_NOT_FOUND){
| ^~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 819kb | OK | 10 |
2 | 0ms | 819kb | OK | 10 |
3 | 1ms | 819kb | OK | 10 |
4 | 2ms | 819kb | OK | 10 |
5 | 5ms | 1085kb | OK | 10 |
6 | 9ms | 1081kb | OK | 10 |
7 | 24ms | 1343kb | OK | 10 |
8 | 39ms | 1605kb | OK | 10 |
9 | 19ms | 1605kb | OK | 10 |
10 | 14ms | 1605kb | OK | 10 |
Punctaj total | 100 |