Borderou de evaluare (job #1649656)

Utilizator ana-maria.simiAna-Maria Simionescu ana-maria.simi Data 11 martie 2016 14:29:57
Problema Panda Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 16

Raport evaluator

Compilare: user.cpp: In function ‘long long int B2(long long int)’: user.cpp:9:14: warning: unused variable ‘c’ [-Wunused-variable] {long long w,c,bin=0; ^ user.cpp: In function ‘int main()’: user.cpp:20:16: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &pe); ^ user.cpp:21:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d", &n, &m, &t); ^ user.cpp:21:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:21:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:22:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d%d", &l, &altcv, &k, &s); ^ user.cpp:22:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:22:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:22:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:32:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] {scanf("%d", &b[i][j]); ^ user.cpp:35:21: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] if(k&b[i][j]==0) ^ user.cpp:18:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] {freopen("panda.in", "r", stdin); ^ user.cpp:19:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("panda.out", "w", stdout); ^ user.cpp:20:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &pe); ^ user.cpp:21:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &n, &m, &t); ^ user.cpp:22:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d", &l, &altcv, &k, &s); ^ user.cpp:29:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &a[i].x, &a[i].y); ^ user.cpp:32:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] {scanf("%d", &b[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms444kbIncorect0
20ms464kbOK4
30ms472kbIncorect0
444ms1608kbIncorect0
50ms476kbIncorect0
680ms1804kbIncorect0
788ms2388kbIncorect0
8132ms2396kbIncorect0
9100ms2196kbIncorect0
1044ms1612kbIncorect0
110ms456kbOK4
12100ms2200kbIncorect0
13116ms2204kbIncorect0
14132ms2400kbIncorect0
150ms556kbIncorect0
16124ms2396kbIncorect0
1792ms2396kbIncorect0
184ms832kbIncorect0
1928ms1228kbIncorect0
2024ms1028kbIncorect0
21140ms2396kbIncorect0
22104ms2396kbIncorect0
2368ms3216kbOK4
24136ms2396kbIncorect0
25100ms2372kbOK4
Punctaj total16

Ceva nu functioneaza?