Borderou de evaluare (job #1643025)

Utilizator RG1999one shot RG1999 Data 9 martie 2016 17:16:29
Problema Ksecv3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:26:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ksecv3.in","r",stdin); ^ user.cpp:27:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ksecv3.out","w",stdout); ^ user.cpp:28:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&k); ^ user.cpp:31:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x); ^ user.cpp: In function ‘int caut(int, int, int)’: user.cpp:20:13: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized] if(s[poz]==val) ^ user.cpp: In function ‘int main()’: user.cpp:53:19: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized] sol[m]=pos; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbOK10
20ms260kbOK10
30ms264kbOK10
40ms260kbOK10
50ms304kbOK10
60ms304kbOK10
716msDepăşitMemory limit exceeded.0
824msDepăşitMemory limit exceeded.0
912msDepăşitMemory limit exceeded.0
1012msDepăşitMemory limit exceeded.0
Punctaj total60

Ceva nu functioneaza?