Borderou de evaluare (job #1353923)

Utilizator better_nerf_ireliaUNIBUC Bungiu Ghita Postavaru better_nerf_irelia Data 21 februarie 2015 14:54:04
Problema Por Costel si Algoritmul Status done
Runda ONIS 2015, Runda 1 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void expand()’: user.cpp:45:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<graph[top.nod].size();++i) ^ user.cpp: In function ‘int main()’: user.cpp:70:89: warning: statement has no effect [-Wunused-value] for(int i=1;i<=n;++i){graph[i].clear();costs[i]=999999999;back_e[i]=-1;next_e[i]==0;} ^ user.cpp:98:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<edges.size();++i)printf("%d ",edges[i].ind); ^ user.cpp:64:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("algoritm.in","r",stdin); ^ user.cpp:65:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("algoritm.out","w",stdout); ^ user.cpp:66:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&T); ^ user.cpp:69:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:75:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&x,&y,&c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit14208kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?