Borderou de evaluare (job #1475354)

Utilizator mariakKapros Maria mariak Data 23 august 2015 21:53:23
Problema Muzica Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘bool Search(int)’: user.cpp:12:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < v[x % Mod].size(); ++ i) ^ user.cpp: In function ‘void read()’: user.cpp:25:57: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%lld %lld %lld %lld %lld", &a, &b, &c, &d, &e); ^ user.cpp:25:57: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:25:57: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:25:57: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 5 has type ‘int*’ [-Wformat=] user.cpp:25:57: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 6 has type ‘int*’ [-Wformat=] user.cpp:22:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("muzica.in", "r", stdin); ^ user.cpp:23:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("muzica.out", "w", stdout); ^ user.cpp:24:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ user.cpp:25:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %lld %lld %lld %lld", &a, &b, &c, &d, &e); ^ user.cpp:28:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms304kbIncorect0
20ms312kbIncorect0
30ms352kbIncorect0
44ms376kbIncorect0
54ms396kbIncorect0
64ms384kbIncorect0
74ms396kbIncorect0
84ms396kbIncorect0
94ms392kbIncorect0
100ms304kbIncorect0
Punctaj total0

Ceva nu functioneaza?