Borderou de evaluare (job #1489152)

Utilizator delia_99Delia Draghici delia_99 Data 20 septembrie 2015 18:00:32
Problema Hercule Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void afis()’: user.cpp:27:20: warning: left operand of comma operator has no effect [-Wunused-value] ("%d ",val); ^ user.cpp: In function ‘int main()’: user.cpp:37:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hercule.in","r",stdin); ^ user.cpp:38:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hercule.out","w",stdout); ^ user.cpp:39:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.cpp:42:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&k); ^ user.cpp: In function ‘void afis()’: user.cpp:30:9: warning: ‘ok’ is used uninitialized in this function [-Wuninitialized] if(!ok && val<v[dim]) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit276kbTime limit exceeded.0
2Depăşit268kbTime limit exceeded.0
3Depăşit272kbTime limit exceeded.0
4Depăşit268kbTime limit exceeded.0
5Depăşit272kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?