Borderou de evaluare (job #885168)

Utilizator tzipleatudTudor Tiplea tzipleatud Data 21 februarie 2013 18:11:47
Problema Zmeu2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void BF()’: user.cpp:29:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(short i = 0; i < G[node].size(); i++) ^ user.cpp: In function ‘int main()’: user.cpp:53:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d %d %d", &N, &P, &K); ^ user.cpp:53:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:53:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:55:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d %d", &T[i], &C[i]); ^ user.cpp:55:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:58:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d %d", &X, &Y); ^ user.cpp:58:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:49:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zmeu2.in", "r", stdin); ^ user.cpp:50:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zmeu2.out", "w", stdout); ^ user.cpp:53:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &N, &P, &K); ^ user.cpp:55:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &T[i], &C[i]); ^ user.cpp:58:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &X, &Y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms292kbIncorect0
20ms296kbOK10
38ms284kbIncorect0
40ms292kbIncorect0
58ms288kbOK10
60ms292kbIncorect0
70ms288kbIncorect0
80ms296kbIncorect0
90ms292kbIncorect0
1012ms292kbIncorect0
Punctaj total20

Ceva nu functioneaza?