Pagini recente » Borderou de evaluare (job #890077) | Borderou de evaluare (job #2170757) | Borderou de evaluare (job #950949) | Borderou de evaluare (job #316430) | Borderou de evaluare (job #1003303)
Borderou de evaluare (job #1003303)
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 |
1 | 0ms | 292kb | Raspuns gresit | 0 |
2 | 0ms | 296kb | Raspuns gresit | 0 |
3 | 56ms | 2728kb | Raspuns gresit | 0 |
4 | 56ms | Depăşit | Memory limit exceeded. | 0 |
5 | 404ms | 6184kb | Raspuns gresit | 0 |
6 | 56ms | Depăşit | Memory limit exceeded. | 0 |
7 | 56ms | Depăşit | Memory limit exceeded. | 0 |
8 | 56ms | Depăşit | Memory limit exceeded. | 0 |
9 | 56ms | Depăşit | Memory limit exceeded. | 0 |
10 | 56ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |