Borderou de evaluare (job #1572075)

Utilizator badea_adi1999Badea Adrian Catalin badea_adi1999 Data 18 ianuarie 2016 18:55:44
Problema Pirati Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

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
14ms655kbOK!8
29ms1048kbOK!10
336ms3145kbOK!10
486ms5373kbOK!10
5452ms11010kbTime limit exceeded0
6451ms11403kbTime limit exceeded0
7450ms11403kbTime limit exceeded0
8452ms11796kbTime limit exceeded0
9452ms12582kbTime limit exceeded0
10451ms11927kbTime limit exceeded0
112ms131kbOK!1
122ms131kbOK!1
Punctaj total40

Ceva nu functioneaza?