Borderou de evaluare (job #1794434)

Utilizator DenisONIcBanu Denis Andrei DenisONIc Data 1 noiembrie 2016 12:00:18
Problema Calafat Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:38:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld",&n,&m); ^ user.cpp:38:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:40:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&v[i]); ^ user.cpp:43:39: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld",&H[i].x,&H[i].y),H[i].poz = i; ^ user.cpp:43:39: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:37:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("calafat.in","r",stdin); ^ user.cpp:38:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld%ld",&n,&m); ^ user.cpp:40:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&v[i]); ^ user.cpp:43:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld%ld",&H[i].x,&H[i].y),H[i].poz = i; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms504kbOK5
20ms504kbOK5
30ms496kbOK5
40ms504kbOK5
532ms1092kbOK5
632ms1092kbOK5
752ms1404kbOK5
860ms1560kbOK5
960ms1564kbOK5
1096ms2072kbOK5
11116ms2412kbOK5
12136ms2808kbOK5
13136ms2892kbOK5
14132ms2684kbOK5
15428ms6896kbOK5
16424ms7048kbOK5
17412ms6740kbOK5
18420ms6900kbOK5
19436ms7292kbOK5
20432ms7284kbOK5
Punctaj total100

Ceva nu functioneaza?