Borderou de evaluare (job #2461397)
Utilizator | Data | 25 septembrie 2019 16:57:52 | |
---|---|---|---|
Problema | Rufe | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:26:31: error: array bound is not an integer constant before ']' token
long int T[mare(N,M)+1];
^
main.cpp:40:56: error: 'struct main()::colt' has no member named 'T'
for(i=1;i<=LD.d-LD.l-LD.h+1+mic(LD.h,LD.l);i++) LD.T[i]=Dmax-(LD.d-LD.l-LD.h+1);
^
main.cpp:41:77: error: 'struct main()::colt' has no member named 'T'
for(i=LD.d-LD.l-LD.h+1+mic(LD.h,LD.l)+1;i<LD.d+1-mic(LD.h,LD.l);i++) LD.T[i]=LD.d-(Dmax-1);
^
main.cpp:42:53: error: 'struct main()::colt' has no member named 'T'
for(i=LD.d+1-mic(LD.h,LD.l);i<mare(N,M);i++) LD.T[i]=mic(LD.l,LD.h);
^
main.cpp:44:56: error: 'struct main()::colt' has no member named 'T'
for(i=1;i<=RU.d-RU.l-RU.h+1+mic(RU.h,RU.l);i++) RU.T[i]=Dmax-(RU.d-RU.l-RU.h+1);
^
main.cpp:45:77: error: 'struct main()::colt' has no member named 'T'
for(i=RU.d-RU.l-RU.h+1+mic(RU.h,RU.l)+1;i<RU.d+1-mic(RU.h,RU.l);i++) RU.T[i]=RU.d-(Dmax-1);
^
main.cpp:46:53: error: 'struct main()::colt' has no member named 'T'
for(i=RU.d+1-mic(RU.h,RU.l);i<mare(N,M);i++) RU.T[i]=mic(RU.l,RU.h);
^
main.cpp:48:56: error: 'struct main()::colt' has no member named 'T'
for(i=1;i<=RD.d-RD.l-RD.h+1+mic(RD.h,RD.l);i++) RD.T[i]=Dmax-(RD.d-RD.l-RD.h+1);
^
main.cpp:49:77: error: 'struct main()::colt' has no member named 'T'
for(i=RD.d-RD.l-RD.h+1+mic(RD.h,RD.l)+1;i<RD.d+1-mic(RD.h,RD.l);i++) RD.T[i]=RD.d-(Dmax-1);
^
main.cpp:50:53: error: 'struct main()::colt' has no member named 'T'
for(i=RD.d+1-mic(RD.h,RD.l);i<mare(N,M);i++) RD.T[i]=mic(RD.l,RD.h);
^
main.cpp:52:56: error: 'struct main()::colt' has no member named 'T'
for(i=1;i<=LU.d-LU.l-LU.h+1+mic(LU.h,LU.l);i++) LU.T[i]=Dmax-(LU.d-LU.l-LU.h+1);
^
main.cpp:53:77: error: 'struct main()::colt' has no member named 'T'
for(i=LU.d-LU.l-LU.h+1+mic(LU.h,LU.l)+1;i<LU.d+1-mic(LU.h,LU.l);i++) LU.T[i]=LU.d-(Dmax-1);
^
main.cpp:54:53: error: 'struct main()::colt' has no member named 'T'
for(i=LU.d+1-mic(LU.h,LU.l);i<mare(N,M);i++) LU.T[i]=mic(LU.l,LU.h);
^
main.cpp:60:30: error: 'struct main()::colt' has no member named 'T'
if(Dmax<=LD.d) k-=LD.T[i];
^
main.cpp:61:30: error: 'struct main()::colt' has no member named 'T'
if(Dmax<=RU.d) k-=LD.T[i];
^
main.cpp:62:30: error: 'struct main()::colt' has no member named 'T'
if(Dmax<=RD.d) k-=LD.T[i];
^
main.cpp:63:30: error: 'struct main()::colt' has no member named 'T'
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !