Borderou de evaluare (job #1225508)

Utilizator akaprosAna Kapros akapros Data 2 septembrie 2014 18:25:01
Problema ExpectedPos Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int cb(int)’: user.cpp:21:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:24:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("expectedpos.in","r",stdin); ^ user.cpp:25:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("expectedpos.out","w",stdout); ^ user.cpp:26:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&k); ^ user.cpp:29:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&c); ^ user.cpp:32:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (j=1;j<=c;j++) scanf("%d",&v[++v[0]]); ^ user.cpp:34:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&m); ^ user.cpp:37:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x); s=0; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbOK10
20ms256kbOK10
3Depăşit260kbTime limit exceeded.0
4Depăşit276kbTime limit exceeded.0
5120ms280kbOK10
6Depăşit284kbTime limit exceeded.0
7Depăşit300kbTime limit exceeded.0
8Depăşit604kbTime limit exceeded.0
9Depăşit652kbTime limit exceeded.0
10Depăşit656kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?