Borderou de evaluare (job #1003303)

Utilizator Kzsolty96SAPIENTIA OSZTIAN DANIEL KUCSVAN Kzsolty96 Data 30 septembrie 2013 12:37:43
Problema Ghiozdan Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void din()’: user.cpp:64:67: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type {aka int}’ [-Wformat=] printf("%d %d\n%ld\n%ld",Gmax,Nmin,Obj[indexi],Obj[indexj]); ^ user.cpp:64:67: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type {aka int}’ [-Wformat=] user.cpp:67:52: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type {aka int}’ [-Wformat=] printf("%d %d\n%ld\n",Gmax,Nmin,Obj[indexi]); ^ user.cpp:69:34: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type {aka int}’ [-Wformat=] printf("%ld\n",Obj[i]); ^ user.cpp:64:66: warning: ‘indexj’ may be used uninitialized in this function [-Wmaybe-uninitialized] printf("%d %d\n%ld\n%ld",Gmax,Nmin,Obj[indexi],Obj[indexj]); ^ user.cpp:64:54: warning: ‘indexi’ may be used uninitialized in this function [-Wmaybe-uninitialized] printf("%d %d\n%ld\n%ld",Gmax,Nmin,Obj[indexi],Obj[indexj]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms292kbRaspuns gresit0
20ms296kbRaspuns gresit0
356ms2728kbRaspuns gresit0
456msDepăşitMemory limit exceeded.0
5404ms6184kbRaspuns gresit0
656msDepăşitMemory limit exceeded.0
756msDepăşitMemory limit exceeded.0
856msDepăşitMemory limit exceeded.0
956msDepăşitMemory limit exceeded.0
1056msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?