Pagini recente » Borderou de evaluare (job #2116759) | Borderou de evaluare (job #1612543) | Borderou de evaluare (job #1263488) | Borderou de evaluare (job #792609) | Borderou de evaluare (job #1754318)
Borderou de evaluare (job #1754318)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:42:27: warning: unused variable 's' [-Wunused-variable]
int n, m, i, j, x, y, s, t, k, x_aa, y_aa, x1, y1, x2, y2;
^
main.cpp: In function 'void aflaDistante(int)':
main.cpp:111:9: warning: unused variable 'n' [-Wunused-variable]
int n, i, j;
^
main.cpp:111:15: warning: unused variable 'j' [-Wunused-variable]
int n, i, j;
^
main.cpp: In function 'void computeLCA()':
main.cpp:161: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:81: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 |
1 | 10ms | 3801kb | Raspuns gresit! | 0 |
2 | 23ms | 4980kb | Raspuns gresit! | 0 |
3 | 99ms | 13230kb | Raspuns gresit! | 0 |
4 | 215ms | 26460kb | Raspuns gresit! | 0 |
5 | 451ms | 43626kb | Time limit exceeded | 0 |
6 | 452ms | 38776kb | Time limit exceeded | 0 |
7 | 453ms | 42442kb | Time limit exceeded | 0 |
8 | 451ms | 36159kb | Time limit exceeded | 0 |
9 | 450ms | 31576kb | Time limit exceeded | 0 |
10 | 453ms | 29605kb | Time limit exceeded | 0 |
11 | 9ms | 3145kb | OK! | 1 |
12 | 9ms | 3145kb | Raspuns gresit! | 0 |
Punctaj total | 1 |