Borderou de evaluare (job #3146147)

Utilizator daristyleBejan Darius-Ramon daristyle Data 18 august 2023 19:25:58
Problema Autobuze Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

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
10ms819kbOK10
20ms819kbOK10
31ms819kbOK10
42ms819kbOK10
55ms1085kbOK10
69ms1081kbOK10
724ms1343kbOK10
839ms1605kbOK10
919ms1605kbOK10
1014ms1605kbOK10
Punctaj total100

Ceva nu functioneaza?