Borderou de evaluare (job #1531957)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:61:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &k); ^ user.cpp:62:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &n); ^ user.cpp:67:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &m); ^ user.cpp:58: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:59: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:61:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &k); ^ user.cpp:62:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:64: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:67:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ user.cpp:69: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
18ms444kbIncorect0
28ms448kbOK10
30ms312kbIncorect0
44ms364kbIncorect0
516ms600kbOK10
6148ms2624kbOK10
7204ms3400kbOK10
8192ms3404kbOK10
9208ms3392kbIncorect0
10192ms3404kbOK10
Punctaj total60

Ceva nu functioneaza?