Borderou de evaluare (job #2095549)

Utilizator AndreiStanescuAlloys Nokito AndreiStanescu Data 27 decembrie 2017 17:51:35
Problema Flux maxim Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘bool bfs()’: user.cpp:35:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0;j<G[nod].size();j++) ^ user.cpp:26:9: warning: unused variable ‘i’ [-Wunused-variable] int i,j,nod,nod2; ^ user.cpp: In function ‘int ford_fulkerson()’: user.cpp:56:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<G[n].size();i++) ^ user.cpp: In function ‘void read()’: user.cpp:13: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:14:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:17:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d ",&x,&y,&z); ^ user.cpp: In function ‘int main()’: user.cpp:86: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
10ms516kbOK1010
2Depăşit576kbTime limit exceeded.00
3Depăşit740kbTime limit exceeded.00
4Depăşit844kbTime limit exceeded.00
5Depăşit968kbTime limit exceeded.00
6Depăşit1256kbTime limit exceeded.00
7Depăşit2920kbTime limit exceeded.00
8Depăşit3936kbTime limit exceeded.00
9Depăşit4192kbTime limit exceeded.0
10Depăşit4976kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?