Borderou de evaluare (job #1489145)

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

Raport evaluator

Compilare: user.cpp: In function ‘bool tst(int)’: user.cpp:10:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(val=1) ^ user.cpp: In function ‘int main()’: user.cpp:27: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:28: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:29:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.cpp:32:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit260kbTime limit exceeded.0
2Depăşit264kbTime limit exceeded.0
3Depăşit260kbTime limit exceeded.0
4Depăşit264kbTime limit exceeded.0
5Depăşit256kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?