Borderou de evaluare (job #1964605)

Utilizator linerunnerMihai Ion linerunner Data 13 aprilie 2017 16:01:47
Problema Sume Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:36:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f, "%d", &output_dim); ^ user.cpp:41:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f, "%d", &aux); ^ user.cpp:48:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(fout, "%d\n%d ", input_dim, a1); ^ user.cpp:48:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] user.cpp:52:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__gnu_cxx::__alloc_traits<std::allocator<long int> >::value_type {aka long int}’ [-Wformat=] fprintf(fout, "%d", output_arr[i] - a1); ^ user.cpp:54:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__gnu_cxx::__alloc_traits<std::allocator<long int> >::value_type {aka long int}’ [-Wformat=] fprintf(fout, "%d ", output_arr[i] - a1); ^ user.cpp:36:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &output_dim); ^ user.cpp:41:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &aux); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms432kbWrong answer!0
20ms436kbWrong answer!0
30ms432kbWrong answer!0
40ms436kbWrong answer!0
50ms440kbWrong answer!0
60ms428kbWrong answer!0
70ms436kbWrong answer!0
80ms436kbWrong answer!0
90ms440kbWrong answer!0
100ms436kbWrong answer!0
110ms428kbWrong answer!0
120ms436kbWrong answer!0
130ms440kbWrong answer!0
140ms440kbWrong answer!0
150ms436kbWrong answer!0
160ms436kbWrong answer!0
170ms436kbWrong answer!0
180ms440kbWrong answer!0
190ms432kbWrong answer!0
200ms436kbWrong answer!0
Punctaj total0

Ceva nu functioneaza?