Borderou de evaluare (job #1580189)

Utilizator forever16Alex M forever16 Data 25 ianuarie 2016 17:40:53
Problema Alee Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void Citire()’: user.cpp:34:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d %d %d %d", &ip, &jp, &is, &js); ^ user.cpp:34:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:34:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:34:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:24:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ user.cpp:30:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] { scanf("%d %d", &x, &y); ^ user.cpp:34:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d", &ip, &jp, &is, &js); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbIncorect0
20ms284kbIncorect0
30ms284kbIncorect0
40ms288kbIncorect0
50ms296kbIncorect0
60ms328kbIncorect0
74ms328kbIncorect0
80ms328kbIncorect0
90ms308kbIncorect0
100ms296kbIncorect0
Punctaj total0

Ceva nu functioneaza?