Borderou de evaluare (job #1746442)

Utilizator PaulCbnCiobanu Paul PaulCbn Data 23 august 2016 12:27:57
Problema Dezastru Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘void comb(int)’: user.cpp:23:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(x[k]>x[k-1]) ^ user.cpp: In function ‘int main()’: user.cpp:33:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dezastru.in","r",stdin); ^ user.cpp:34:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dezastru.out","w",stdout); ^ user.cpp:35: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:37:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf",&a[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms504kbRaspuns corect !10
20ms512kbRaspuns corect !10
30ms508kbRaspuns corect !10
40ms508kbRaspuns corect !10
5Depăşit432kbTime limit exceeded.0
60ms512kbRaspuns corect !10
70ms512kbRaspuns corect !10
8Depăşit436kbTime limit exceeded.0
9Depăşit436kbTime limit exceeded.0
10Depăşit436kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?