Borderou de evaluare (job #1754505)

Utilizator catu_bogdan_99Catu Bogdan catu_bogdan_99 Data 8 septembrie 2016 13:24:46
Problema Pirati Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 1

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:42:15: warning: unused variable 'x' [-Wunused-variable] int i, j, x, y, s, t, k, x_aa, y_aa, x1, y1, x2, y2; ^ main.cpp:42:18: warning: unused variable 'y' [-Wunused-variable] int i, j, x, y, s, t, k, x_aa, y_aa, x1, y1, x2, y2; ^ main.cpp:42:21: warning: unused variable 's' [-Wunused-variable] int i, j, x, y, s, t, k, x_aa, y_aa, x1, y1, x2, y2; ^ main.cpp: In function 'void aflaDistante(int)': main.cpp:107:9: warning: unused variable 'n' [-Wunused-variable] int n, i, j; ^ main.cpp:107:15: warning: unused variable 'j' [-Wunused-variable] int n, i, j; ^ main.cpp: In function 'void computeLCA()': main.cpp:157:34: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for( i = 1; p = ( 1 << i ) < timp; ++i ){ ^~~~ main.cpp: In function 'int main()': main.cpp:39:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("pirati.in","r",stdin); ^ main.cpp:40:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("pirati.out","w",stdout); ^ main.cpp:44:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%*c",&n,&m,&t); ^ main.cpp:46:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s",q); ^ main.cpp:77:42: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d",&x1,&y1,&x2,&y2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
119ms3670kbRaspuns gresit!0
218ms4718kbRaspuns gresit!0
362ms10612kbRaspuns gresit!0
4143ms20172kbRaspuns gresit!0
5420ms58437kbRaspuns gresit!0
6451ms61845kbTime limit exceeded0
7451ms64598kbTime limit exceeded0
8452ms42971kbTime limit exceeded0
9450ms42971kbTime limit exceeded0
10453ms46555kbTime limit exceeded0
119ms3145kbRaspuns gresit!0
129ms3145kbOK!1
Punctaj total1

Ceva nu functioneaza?