Borderou de evaluare (job #1850093)

Utilizator DenisONIcBanu Denis Andrei DenisONIc Data 18 ianuarie 2017 10:22:17
Problema Cuplaj maxim in graf bipartit Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘bool cup(int)’: user.cpp:16:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0;i<V[nod].size();i++) ^ user.cpp:26:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0;i<V[nod].size();i++) ^ user.cpp: In function ‘int main()’: user.cpp:41:31: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld%ld",&n,&m,&e); ^ user.cpp:41:31: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:41:31: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:46:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld",&x,&y); ^ user.cpp:46:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:40:35: 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:41:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld%ld%ld",&n,&m,&e); ^ user.cpp:46:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld%ld",&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms560kbOK10
20ms560kbOK10
30ms556kbOK10
40ms560kbOK10
50ms588kbOK10
68ms708kbOK10
720ms852kbOK10
824ms852kbOK10
940ms1152kbOK10
1068ms1620kbOK10
Punctaj total100

Ceva nu functioneaza?