Pagini recente » Borderou de evaluare (job #2735258) | Borderou de evaluare (job #2132404) | Borderou de evaluare (job #71404) | Borderou de evaluare (job #2800684) | Borderou de evaluare (job #3180337)
Borderou de evaluare (job #3180337)
Raport evaluator
Compilare:
main.cpp: In member function 'void Solutie::apm2()':
main.cpp:150:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
150 | for (int i = 0; i < drumuri.size(); i++) {
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'void Solutie::camionas()':
main.cpp:187:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
187 | for (int i=0; i<adj[nodCurent].size(); i++) {
| ~^~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Solutie::jzzhuAndCities()':
main.cpp:241:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
241 | for (int i = 0; i < adj[nod].size(); i++) {
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Solutie::findCheapestPrice()':
main.cpp:305:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
305 | for (int i=0; i<adj[nod].size(); i++) {
| ~^~~~~~~~~~~~~~~~
main.cpp: In member function 'void Solutie::oracol()':
main.cpp:339:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
339 | for (int j=0; j<muchii.size(); j++) {
| ~^~~~~~~~~~~~~~
main.cpp: In member function 'void Solutie::trilant()':
main.cpp:396:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
396 | for (int i = 0; i < drumA.size(); i++)
| ~~^~~~~~~~~~~~~~
main.cpp:400:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
400 | for (int i = 0; i < drumB.size(); i++)
| ~~^~~~~~~~~~~~~~
main.cpp:404:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
404 | for (int i = 0; i < drumC.size(); i++)
| ~~^~~~~~~~~~~~~~
main.cpp: In member function 'void Solutie::dragoni()':
main.cpp:513:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
513 | for (int i=0; i<adj[nod].size(); i++) {
| ~^~~~~~~~~~~~~~~~
main.cpp:545:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
545 | for (int i=0; i<adj[nod].size(); i++) {
| ~^~~~~~~~~~~~~~~~
main.cpp: In instantiation of 'std::vector<std::pair<T, int> > Graf<T>::dijkstra_cost_path(int) [with T = long long int]':
main.cpp:364:77: required from here
main.cpp:90:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
90 | for (int i = 0; i < adj[nod].size(); i++) {
| ~~^~~~~~~~~~~~~~~~~
In member function 'void Solutie::cablaj()',
inlined from 'int main()' at main.cpp:576:19:
main.cpp:437:30: warning: 'nodCurent' may be used uninitialized [-Wmaybe-uninitialized]
437 | vizitat[nodCurent] = 1;
| ^
main.cpp: In function 'int main()':
main.cpp:427:13: note: 'nodCurent' was declared here
427 | int nodCurent;
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | OK | 10 |
2 | 0ms | 303kb | OK | 10 |
3 | 0ms | 303kb | OK | 10 |
4 | 2ms | 303kb | OK | 10 |
5 | 3ms | 303kb | OK | 10 |
6 | 7ms | 303kb | OK | 10 |
7 | 9ms | 303kb | OK | 10 |
8 | 19ms | 303kb | OK | 10 |
9 | 29ms | 303kb | OK | 10 |
10 | 29ms | 303kb | OK | 10 |
Punctaj total | 100 |