Borderou de evaluare (job #2098406)

Utilizator mari2001Maria Ionescu mari2001 Data 2 ianuarie 2018 19:38:28
Problema Colectie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int calc(int)’: user.cpp:47:14: warning: no return statement in function returning non-void [-Wreturn-type] p=p*10+d[i];}} ^ user.cpp: In function ‘int add()’: user.cpp:59:16: warning: no return statement in function returning non-void [-Wreturn-type] h.insert(temp);} ^ user.cpp: In function ‘int back(int)’: user.cpp:66:14: warning: no return statement in function returning non-void [-Wreturn-type] back(poz+1);}} ^ user.cpp: In function ‘int main()’: user.cpp:68:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("colectie.in","r",stdin); ^ user.cpp:69:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("colectie.out","w",stdout); ^ user.cpp:71:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&k); ^ user.cpp:76:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1132ms1992kbOK!10
2184ms4028kbOK!10
3132ms1992kbOK!10
4180ms4024kb14 != 100
5Depăşit7200kbTime limit exceeded.0
6Depăşit4448kbTime limit exceeded.0
7Depăşit4452kbTime limit exceeded.0
8Depăşit5244kbTime limit exceeded.0
9Depăşit4584kbTime limit exceeded.0
10Depăşit7304kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?