Borderou de evaluare (job #1743206)

Utilizator IgnitionMihai Moraru Ignition Data 17 august 2016 19:14:53
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:19:17: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘uint64_t* {aka long long unsigned int*}’ [-Wformat=] scanf("%d", &N); ^ user.cpp:22:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘__gnu_cxx::__alloc_traits<std::allocator<long long unsigned int> >::value_type* {aka long long unsigned int*}’ [-Wformat=] scanf("%d", &a[i]); ^ user.cpp:47:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=] printf("%d\n", L); ^ user.cpp:61:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘__gnu_cxx::__alloc_traits<std::allocator<long long unsigned int> >::value_type {aka long long unsigned int}’ [-Wformat=] printf("%d ", res[i]); ^ user.cpp:62:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘__gnu_cxx::__alloc_traits<std::allocator<long long unsigned int> >::value_type {aka long long unsigned int}’ [-Wformat=] printf("%d\n", res[L-1]); ^ user.cpp:16:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("scmax.in", "r", stdin); ^ user.cpp:19:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^ user.cpp:22:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms296kbFisier de iesire lipsa!00
20ms336kbFisier de iesire lipsa!00
30ms272kbFisier de iesire lipsa!00
40ms280kbFisier de iesire lipsa!00
50ms280kbFisier de iesire lipsa!00
60ms300kbFisier de iesire lipsa!00
70ms308kbFisier de iesire lipsa!00
852ms2376kbFisier de iesire lipsa!00
936ms2376kbFisier de iesire lipsa!0
1048ms2376kbFisier de iesire lipsa!0
Punctaj total0

Ceva nu functioneaza?