Pagini recente » Borderou de evaluare (job #2091448) | Borderou de evaluare (job #2116900) | Borderou de evaluare (job #2206342) | Borderou de evaluare (job #2979744) | Borderou de evaluare (job #1572075)
Borderou de evaluare (job #1572075)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:81:27: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1005]' [-Wformat=]
scanf("%s\n",&s[i]);
^
main.cpp:77: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:78: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:79:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n",&n,&m,&p);
^
main.cpp:81:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n",&s[i]);
^
main.cpp:91:45: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d",&a1,&b1,&a2,&b2);
^
main.cpp: In function 'void bfs()':
main.cpp:48:13: warning: array subscript is below array bounds [-Warray-bounds]
t[f[l][c]]=-1;
~~~~~~^
main.cpp:48:10: warning: array subscript is below array bounds [-Warray-bounds]
t[f[l][c]]=-1;
~~~^
main.cpp:49:12: warning: array subscript is below array bounds [-Warray-bounds]
in[l][c]=1;
~~~~~~~^
main.cpp:49:9: warning: array subscript is below array bounds [-Warray-bounds]
in[l][c]=1;
~~~~^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 655kb | OK! | 8 |
2 | 9ms | 1048kb | OK! | 10 |
3 | 36ms | 3145kb | OK! | 10 |
4 | 86ms | 5373kb | OK! | 10 |
5 | 452ms | 11010kb | Time limit exceeded | 0 |
6 | 451ms | 11403kb | Time limit exceeded | 0 |
7 | 450ms | 11403kb | Time limit exceeded | 0 |
8 | 452ms | 11796kb | Time limit exceeded | 0 |
9 | 452ms | 12582kb | Time limit exceeded | 0 |
10 | 451ms | 11927kb | Time limit exceeded | 0 |
11 | 2ms | 131kb | OK! | 1 |
12 | 2ms | 131kb | OK! | 1 |
Punctaj total | 40 |