Borderou de evaluare (job #1832519)

Utilizator MateiVladMatei Vlad MateiVlad Data 20 decembrie 2016 10:40:39
Problema Traseu3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:33:52: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=] scanf("%d %d %d",&q[1].lin,&q[1].col,&q[1].etaj); ^ user.cpp:33:52: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=] user.cpp:33:52: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘char*’ [-Wformat=] user.cpp:34:58: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=] scanf("%d %d %d",&camera.lin,&camera.col,&camera.etaj); ^ user.cpp:34:58: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=] user.cpp:34:58: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘char*’ [-Wformat=] user.cpp:37:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=] scanf("%d %d %d",&aux.lin,&aux.col,&aux.etaj); ^ user.cpp:37:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=] user.cpp:37:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘char*’ [-Wformat=] user.cpp:38:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] a[aux.lin][aux.col][aux.etaj].val=-1; ^ user.cpp:38:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] a[aux.lin][aux.col][aux.etaj].val=-1; ^ user.cpp:38:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] a[aux.lin][aux.col][aux.etaj].val=-1; ^ user.cpp:49:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] a[q[1].lin][q[1].col][q[1].etaj].val=1; ^ user.cpp:49:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] a[q[1].lin][q[1].col][q[1].etaj].val=1; ^ user.cpp:49:36: warning: array subscript has type ‘char’ [-Wchar-subscripts] a[q[1].lin][q[1].col][q[1].etaj].val=1; ^ user.cpp:50:31: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(st<=dr&&a[camera.lin][camera.col][camera.etaj].val==0) ^ user.cpp:50:43: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(st<=dr&&a[camera.lin][camera.col][camera.etaj].val==0) ^ user.cpp:50:56: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(st<=dr&&a[camera.lin][camera.col][camera.etaj].val==0) ^ user.cpp:59:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(a[temp.lin][temp.col][temp.etaj].val==0) ^ user.cpp:59:36: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(a[temp.lin][temp.col][temp.etaj].val==0) ^ user.cpp:59:47: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit556kbTime limit exceeded.0
2Depăşit6120kbTime limit exceeded.0
3Depăşit836kbTime limit exceeded.0
4Depăşit364kbTime limit exceeded.0
5Depăşit564kbTime limit exceeded.0
6Depăşit1072kbTime limit exceeded.0
7Depăşit1572kbTime limit exceeded.0
8Depăşit2252kbTime limit exceeded.0
9Depăşit4696kbTime limit exceeded.0
10Depăşit6116kbTime limit exceeded.0
11Depăşit6116kbTime limit exceeded.0
12Depăşit3656kbTime limit exceeded.0
13Depăşit5164kbTime limit exceeded.0
14Depăşit4212kbTime limit exceeded.0
15Depăşit4916kbTime limit exceeded.0
16Depăşit6120kbTime limit exceeded.0
17Depăşit6120kbTime limit exceeded.0
18Depăşit6116kbTime limit exceeded.0
19Depăşit6120kbTime limit exceeded.0
20Depăşit4688kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?