Borderou de evaluare (job #1481067)

Utilizator rexlcdTenea Mihai rexlcd Data 3 septembrie 2015 19:11:06
Problema Muzica Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘bool findValue(long long int)’: user.cpp:22:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<v[L].size();i++) ^ user.cpp: In function ‘int main()’: user.cpp:35:30: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%lld %lld", &n, &m); ^ user.cpp:35:30: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:36: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:36:57: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:36:57: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:36:57: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 5 has type ‘int*’ [-Wformat=] user.cpp:36:57: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 6 has type ‘int*’ [-Wformat=] user.cpp:39:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &x); ^ user.cpp:33: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:34: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:35:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %lld", &n, &m); ^ user.cpp:36: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:39: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
10ms556kbIncorect0
20ms552kbIncorect0
30ms556kbIncorect0
40ms552kbIncorect0
50ms552kbIncorect0
60ms552kbIncorect0
70ms556kbIncorect0
80ms552kbIncorect0
90ms552kbIncorect0
100ms552kbIncorect0
Punctaj total0

Ceva nu functioneaza?