Borderou de evaluare (job #2068497)

Utilizator mari2001Maria Ionescu mari2001 Data 17 noiembrie 2017 23:30:46
Problema Perm 6 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int init(int)’: user.cpp:8:16: warning: no return statement in function returning non-void [-Wreturn-type] d[row][i][j]=0;} ^ user.cpp: In function ‘int add(int*, int*)’: user.cpp:15:10: warning: no return statement in function returning non-void [-Wreturn-type] a[0]=i-1;} ^ user.cpp: In function ‘int main()’: user.cpp:17:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("perm6.in","r",stdin); ^ user.cpp:18:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("perm6.out","w",stdout); ^ user.cpp:20:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms8128kbOK10
220ms8128kbOK10
328ms8136kbOK10
440ms8132kbOK10
552ms8128kbOK10
684ms8132kbOK10
7100ms8132kbOK10
884ms8132kbOK10
9Depăşit8100kbTime limit exceeded.0
10Depăşit8100kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?