Borderou de evaluare (job #1832517)

Utilizator MateiVladMatei Vlad MateiVlad Data 20 decembrie 2016 10:36:53
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ăşit560kbTime limit exceeded.0
2Depăşit6120kbTime limit exceeded.0
3Depăşit844kbTime limit exceeded.0
4Depăşit360kbTime limit exceeded.0
5Depăşit560kbTime limit exceeded.0
6Depăşit1080kbTime limit exceeded.0
7Depăşit1576kbTime limit exceeded.0
8Depăşit2248kbTime limit exceeded.0
9Depăşit4700kbTime limit exceeded.0
10Depăşit6120kbTime limit exceeded.0
11Depăşit6116kbTime limit exceeded.0
12Depăşit3656kbTime limit exceeded.0
13Depăşit5164kbTime limit exceeded.0
14Depăşit4216kbTime limit exceeded.0
15Depăşit4920kbTime limit exceeded.0
16Depăşit6120kbTime limit exceeded.0
17Depăşit6120kbTime limit exceeded.0
18Depăşit6112kbTime limit exceeded.0
19Depăşit6116kbTime limit exceeded.0
20Depăşit4680kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?