Borderou de evaluare (job #1531076)

Utilizator valiro21Valentin Rosca valiro21 Data 21 noiembrie 2015 13:17:28
Problema Licenta Status done
Runda FMI No Stress 6 Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf ("%ld %ld", &x, &y); ^ user.cpp:16:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:25:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf ("%ld %ld", &x, &y); ^ user.cpp:25:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:12:15: warning: unused variable ‘m’ [-Wunused-variable] int K, n, m, x, y; ^ user.cpp:10:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("licenta.in", "rt", stdin); ^ user.cpp:11:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("licenta.out", "wt", stdout); ^ user.cpp:16:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%ld %ld", &x, &y); ^ user.cpp:25:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%ld %ld", &x, &y); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms436kbOK10
24ms452kbOK10
30ms476kbOK10
48ms756kbOK10
512ms456kbOK10
688ms664kbOK10
7116ms684kbOK10
8116ms540kbOK10
9116ms668kbOK10
10112ms484kbOK10
Punctaj total100

Ceva nu functioneaza?