Borderou de evaluare (job #1871100)

Utilizator savulescustefanSavulescu Stefan savulescustefan Data 7 februarie 2017 10:16:19
Problema Cuplaj maxim in graf bipartit Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void cupleaza(int)’: user.cpp:16:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j=0;j<=(v[q].size()-1);j++) ^ user.cpp:26:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (h=0;h<=(v1[v[q][j]].size()-1);h++) ^ user.cpp:9:13: warning: unused variable ‘i’ [-Wunused-variable] int z,h,i; ^ user.cpp: In function ‘int main()’: user.cpp:68:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (h=0;h<=(v1[v[i][j]].size()-1);h++) ^ user.cpp:45:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("cuplaj.in","r",stdin); ^ user.cpp:46:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("cuplaj.out","w",stdout); ^ user.cpp:47:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d %d", &n, &m, &e); ^ user.cpp:50:32: 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
10ms528kbOK10
20ms524kbOK10
30ms524kbRaspuns gresit0
40ms540kbRaspuns gresit0
50ms568kbRaspuns gresit0
68ms736kbRaspuns gresit0
724ms1036kbRaspuns gresit0
816ms940kbRaspuns gresit0
936ms1308kbRaspuns gresit0
1080ms2048kbRaspuns gresit0
Punctaj total20

Ceva nu functioneaza?