Borderou de evaluare (job #1760822)

Utilizator lianaliana tucar liana Data 21 septembrie 2016 12:22:58
Problema Flux maxim Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:13:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld",&n,&m); ^ user.cpp:13:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:16:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld %ld",&x,&y,&z); ^ user.cpp:16:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:16:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp: In function ‘int main()’: user.cpp:86:21: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld",rez); ^ user.cpp: In function ‘void citire()’: user.cpp:13:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld",&n,&m); ^ user.cpp:16:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld %ld",&x,&y,&z); ^ user.cpp: In function ‘int main()’: user.cpp:82:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("maxflow.in","r",stdin); ^ user.cpp:83:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("maxflow.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms336kbOK1010
20ms392kbOK1010
30ms496kbOK1010
40ms572kbOK1010
50ms644kbOK1010
60ms780kbOK1010
74ms1904kbOK1010
88ms3120kbOK1030
98ms3892kbOK10
1016ms4312kbOK10
Punctaj total100

Ceva nu functioneaza?