Borderou de evaluare (job #2502519)

Utilizator ivan.tudorIvan Tudor ivan.tudor Data 30 noiembrie 2019 23:11:54
Problema Alee Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:21:36: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'char*' [-Wformat=] fscanf(fin,"%d%d",&y0.l,&y0.c); ^ main.cpp:21:36: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'char*' [-Wformat=] main.cpp:22:13: warning: array subscript has type 'char' [-Wchar-subscripts] a[y0.l][y0.c]=true; ^ main.cpp:22:19: warning: array subscript has type 'char' [-Wchar-subscripts] a[y0.l][y0.c]=true; ^ main.cpp:26:50: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'char*' [-Wformat=] fscanf(fin,"%d%d%d%d",&x0.l,&x0.c,&y0.l,&y0.c); ^ main.cpp:26:50: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'char*' [-Wformat=] main.cpp:26:50: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'char*' [-Wformat=] main.cpp:26:50: warning: format '%d' expects argument of type 'int*', but argument 6 has type 'char*' [-Wformat=] main.cpp:29:11: warning: array subscript has type 'char' [-Wchar-subscripts] d[x0.l][x0.c]=1; ^ main.cpp:29:17: warning: array subscript has type 'char' [-Wchar-subscripts] d[x0.l][x0.c]=1; ^ main.cpp:36:18: warning: array subscript has type 'char' [-Wchar-subscripts] if(!a[y.l][y.c] && d[y.l][y.c]==0){ ^ main.cpp:36:23: warning: array subscript has type 'char' [-Wchar-subscripts] if(!a[y.l][y.c] && d[y.l][y.c]==0){ ^ main.cpp:36:33: warning: array subscript has type 'char' [-Wchar-subscripts] if(!a[y.l][y.c] && d[y.l][y.c]==0){ ^ main.cpp:36:38: warning: array subscript has type 'char' [-Wchar-subscripts] if(!a[y.l][y.c] && d[y.l][y.c]==0){ ^ main.cpp:37:16: warning: array subscript has type 'char' [-Wchar-subscripts] d[y.l][y.c]=1+d[x.l][x.c]; ^ main.cpp:37:21: warning: array subscript has type 'char' [-Wchar-subscripts] d[y.l][y.c]=1+d[x.l][x.c]; ^ main.cpp:37:30: warning: array subscript has type 'char' [-Wchar-subscripts] d[y.l][y.c]=1+d[x.l][x.c]; ^ main.cpp:37:35: warning: array subscript has type 'char' [-Wchar-subscripts] d[y.l][y.c]=1+d[x.l][x.c]; ^ main.cpp:43:30: warning: array subscript has type 'char' [-Wchar-subscripts] fprintf(fout,"%hd",d[y0.l][y0.c]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
15ms262kbKilled by Signal 110
24ms262kbKilled by Signal 110
35ms131kbKilled by Signal 110
45ms262kbKilled by Signal 110
54ms262kbKilled by Signal 110
65ms262kbKilled by Signal 110
78ms262kbKilled by Signal 110
83ms131kbKilled by Signal 110
95ms131kbKilled by Signal 110
105ms262kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?