Borderou de evaluare (job #2210016)

Utilizator cristinaveraCristina Verdeata cristinavera Data 5 iunie 2018 14:08:00
Problema Cu mâinile curate Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int calc(int)’: user.cpp:17:14: warning: no return statement in function returning non-void [-Wreturn-type] pos.push(i);}} ^ user.cpp: In function ‘int main()’: user.cpp:19:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cumainilecurate.in","r",stdin); ^ user.cpp:20:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cumainilecurate.out","w",stdout); ^ user.cpp:22:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:24:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i]); ^ user.cpp:27:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&tip); ^ user.cpp:29:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&a,&b); ^ user.cpp:33:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a),printf("%d\n",rez[a]);} ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
156ms860kbUn fleac, i-ai ciuruit!2020
296ms1644kbUn fleac, i-ai ciuruit!2020
3Depăşit1640kbTime limit exceeded.00
4Depăşit1640kbTime limit exceeded.0
5Depăşit1640kbTime limit exceeded.0
672ms1856kbUn fleac, i-ai ciuruit!6
7Depăşit1644kbTime limit exceeded.0
8Depăşit2016kbTime limit exceeded.0
9Depăşit1616kbTime limit exceeded.0
10Depăşit1632kbTime limit exceeded.0
11Depăşit1620kbTime limit exceeded.0
12Depăşit1612kbTime limit exceeded.0
1360ms1620kbUn fleac, i-ai ciuruit!1
Punctaj total40

Ceva nu functioneaza?