Borderou de evaluare (job #1328341)

Utilizator nacrocRadu C nacroc Data 28 ianuarie 2015 11:38:03
Problema Compresie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int div_imp(int, int, int, int, int&)’: user.cpp:16:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(i<strlen(s) && x1<=x2 && y1<=y2){ ^ user.cpp:47:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:54:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<strlen(s);++i){ ^ user.cpp:60:20: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] else if(isalpha(s[i])) ^ user.cpp:50:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("compresie.in","r",stdin); ^ user.cpp:51:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("compresie.out","w",stdout); ^ user.cpp:53:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms292kbOK!5
20ms384kbOK!5
328ms516kbOK!5
484ms676kbOK!5
5Depăşit592kbTime limit exceeded.0
6Depăşit568kbTime limit exceeded.0
7Depăşit620kbTime limit exceeded.0
8Depăşit652kbTime limit exceeded.0
9Depăşit976kbTime limit exceeded.0
10Depăşit972kbTime limit exceeded.0
11Depăşit1016kbTime limit exceeded.0
12Depăşit800kbTime limit exceeded.0
13Depăşit1288kbTime limit exceeded.0
14Depăşit1196kbTime limit exceeded.0
15Depăşit1180kbTime limit exceeded.0
16Depăşit1288kbTime limit exceeded.0
17Depăşit1272kbTime limit exceeded.0
18Depăşit1004kbTime limit exceeded.0
19Depăşit724kbTime limit exceeded.0
20Depăşit1300kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?