Borderou de evaluare (job #3129755)

Utilizator RealDream21Fabian-Andrei RealDream21 Data 15 mai 2023 19:17:32
Problema Muzica Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:47:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 47 | for(int j = 0; j < r[x % p].size(); j++) | ~~^~~~~~~~~~~~~~~~~ In function 'int f_hash(int, int, int)', inlined from 'int f_hash(int, int, int)' at main.cpp:10:5, inlined from 'int main()' at main.cpp:37:21: main.cpp:16:21: warning: 'last' may be used uninitialized [-Wmaybe-uninitialized] 16 | else return ((c * last + d * secondToLast) % e); | ~~^~~~~~ main.cpp: In function 'int main()': main.cpp:26:9: note: 'last' was declared here 26 | int last, secondToLast; | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
110ms2039kbKilled by Signal 110
210ms2002kbKilled by Signal 110
310ms1994kbKilled by Signal 110
410ms1998kbKilled by Signal 110
510ms1998kbKilled by Signal 110
610ms1994kbKilled by Signal 110
710ms1990kbKilled by Signal 110
811ms1998kbKilled by Signal 110
910ms2035kbKilled by Signal 110
1010ms1994kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?