Borderou de evaluare (job #3161582)

Utilizator DRGmenMarcu Dragos-Ionut DRGmen Data 27 octombrie 2023 16:03:09
Problema Padure Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In instantiation of 'std::vector<int> Graf<T>::findOrder(int, const std::vector<std::vector<int> >&) [with T = int]': main.cpp:303:36: required from here main.cpp:114:21: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 114 | if(R.size() < n) R.clear(); | ~~~~~~~~~^~~ main.cpp: In instantiation of 'int Graf<T>::shortestBridge(const std::vector<std::vector<int> >&) [with T = int]': main.cpp:318:33: required from here main.cpp:191:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 191 | if(0 <= nx && nx < grid.size() && 0 <= ny && ny < grid.size()){ | ~~~^~~~~~~~~~~~~ main.cpp:191:65: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 191 | if(0 <= nx && nx < grid.size() && 0 <= ny && ny < grid.size()){ | ~~~^~~~~~~~~~~~~ main.cpp: In instantiation of 'void Graf<T>::islandDFS(const std::vector<std::vector<int> >&, std::vector<std::vector<int> >&, int, int, int) [with T = int]': main.cpp:177:21: required from 'int Graf<T>::shortestBridge(const std::vector<std::vector<int> >&) [with T = int]' main.cpp:318:33: required from here main.cpp:36:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 36 | if(0 <= newx && newx < grid.size() && 0 <= newy && newy < grid.size()){ | ~~~~~^~~~~~~~~~~~~ main.cpp:36:69: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 36 | if(0 <= newx && newx < grid.size() && 0 <= newy && newy < grid.size()){ | ~~~~~^~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
138ms66809kbMemory limit exceeded0
238ms66932kbMemory limit exceeded0
338ms66736kbMemory limit exceeded0
438ms66719kbMemory limit exceeded0
538ms66732kbMemory limit exceeded0
638ms66711kbMemory limit exceeded0
738ms66887kbMemory limit exceeded0
838ms66805kbMemory limit exceeded0
938ms66736kbMemory limit exceeded0
1038ms66768kbMemory limit exceeded0
Punctaj total0

Ceva nu functioneaza?