Borderou de evaluare (job #1531888)

Utilizator dragangabrielDragan Andrei Gabriel dragangabriel Data 21 noiembrie 2015 14:39:27
Problema Licenta Status done
Runda FMI No Stress 6 Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:65:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &k); ^ user.cpp:66:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &n); ^ user.cpp:71:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &m); ^ user.cpp:62:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("licenta.in", "r", stdin); ^ user.cpp:63:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("licenta.out", "w", stdout); ^ user.cpp:65:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &k); ^ user.cpp:66:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:68:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %lld", &v1[i].x, &v1[i].y); ^ user.cpp:71:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ user.cpp:73:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %lld", &v2[i].x, &v2[i].y); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms440kbOK10
28ms448kbIncorect0
30ms320kbOK10
44ms380kbOK10
516ms596kbIncorect0
6140ms2624kbIncorect0
7192ms3404kbIncorect0
8188ms3404kbIncorect0
9188ms3400kbIncorect0
10188ms3404kbIncorect0
Punctaj total30

Ceva nu functioneaza?