Šaulys 1

Taškai: 0

Compile: FAIL

saul1.cpp: In function ‘void build(int, vir*, int)’: saul1.cpp:30:22: error: ‘struct vir’ has no member named ‘reiksme’ medis[index].reiksme = 0; ^ saul1.cpp:43:22: error: ‘struct vir’ has no member named ‘reiksme’ medis[index].reiksme = medis[index * 2].reiksme + medis[index * 2 + 1].reiksme; ^ saul1.cpp:43:49: error: ‘struct vir’ has no member named ‘reiksme’ medis[index].reiksme = medis[index * 2].reiksme + medis[index * 2 + 1].reiksme; ^ saul1.cpp:43:80: error: ‘struct vir’ has no member named ‘reiksme’ medis[index].reiksme = medis[index * 2].reiksme + medis[index * 2 + 1].reiksme; ^ saul1.cpp: In function ‘void pridek(int, vir*, int, int, int, int)’: saul1.cpp:53:22: error: ‘struct vir’ has no member named ‘reiksme’ medis[index].reiksme += x; ^ saul1.cpp:62:22: error: ‘struct vir’ has no member named ‘reiksme’ medis[index].reiksme = medis[index * 2].reiksme+ medis[index * 2 + 1].reiksme; ^ saul1.cpp:62:49: error: ‘struct vir’ has no member named ‘reiksme’ medis[index].reiksme = medis[index * 2].reiksme+ medis[index * 2 + 1].reiksme; ^ saul1.cpp:62:79: error: ‘struct vir’ has no member named ‘reiksme’ medis[index].reiksme = medis[index * 2].reiksme+ medis[index * 2 + 1].reiksme; ^ saul1.cpp: In function ‘int rask(int, vir*, int, int, int)’: saul1.cpp:75:29: error: ‘struct vir’ has no member named ‘reiksme’ return medis[index].reiksme; ^

nr.resulttimemessage