Borderou de evaluare (job #1298106)

Utilizator gabrielinelusGabriel-Robert Inelus gabrielinelus Data 22 decembrie 2014 15:47:18
Problema Rrmst Status done
Runda Happy Birthday Infoarena 2014 Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:59:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",tot); ^ user.cpp:38:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rrmst.in","r",stdin); ^ user.cpp:39:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rrmst.out","w",stdout); ^ user.cpp:41:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&N); ^ user.cpp:46:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&X[i],&Y[i]); ^ user.cpp: In function ‘int get_min()’: user.cpp:22:12: warning: ‘pzmin’ may be used uninitialized in this function [-Wmaybe-uninitialized] return pzmin; ^ user.cpp: In function ‘int main()’: user.cpp:33:38: warning: ‘pzmin’ may be used uninitialized in this function [-Wmaybe-uninitialized] return abso(X[x]-X[y]) + abso(Y[x] - Y[y]); ^ user.cpp:15:20: note: ‘pzmin’ was declared here int mini = INF,pzmin; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
112ms664kbOK1030
212ms660kbOK10
312ms660kbOK10
4Depăşit1788kbTime limit exceeded.00
5Depăşit1788kbTime limit exceeded.0
6Depăşit1788kbTime limit exceeded.0
7Depăşit1788kbTime limit exceeded.0
8Depăşit1784kbTime limit exceeded.0
9Depăşit1784kbTime limit exceeded.0
10Depăşit1784kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?