Borderou de evaluare (job #1838142)

Utilizator mihaiadelinamihai adelina mihaiadelina Data 31 decembrie 2016 00:59:42
Problema Elicoptere Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:5:1: error: ‘ifstream’ does not name a type ifstream fin ("elicoptere.in"); ^ user.cpp:6:1: error: ‘ofstream’ does not name a type ofstream fout ("elicoptere.out"); ^ user.cpp:11:5: error: ‘punct’ does not name a type punct a, b, c; ^ user.cpp: In function ‘void citire()’: user.cpp:23:5: error: ‘cin’ was not declared in this scope cin >> v; ^ user.cpp:26:22: error: ‘n’ was not declared in this scope for (i = 1; i <= n; i++) ^ user.cpp:27:21: error: ‘struct triunghi’ has no member named ‘A’ cin >> t[i].A >> t[i].A >> t[i].B >> t[i].B >> t[i].C >> t[i].C; ^ user.cpp:27:31: error: ‘struct triunghi’ has no member named ‘A’ cin >> t[i].A >> t[i].A >> t[i].B >> t[i].B >> t[i].C >> t[i].C; ^ user.cpp:27:41: error: ‘struct triunghi’ has no member named ‘B’ cin >> t[i].A >> t[i].A >> t[i].B >> t[i].B >> t[i].C >> t[i].C; ^ user.cpp:27:51: error: ‘struct triunghi’ has no member named ‘B’ cin >> t[i].A >> t[i].A >> t[i].B >> t[i].B >> t[i].C >> t[i].C; ^ user.cpp:27:61: error: ‘struct triunghi’ has no member named ‘C’ cin >> t[i].A >> t[i].A >> t[i].B >> t[i].B >> t[i].C >> t[i].C; ^ user.cpp:27:71: error: ‘struct triunghi’ has no member named ‘C’ cin >> t[i].A >> t[i].A >> t[i].B >> t[i].B >> t[i].C >> t[i].C; ^ user.cpp:22:12: warning: unused variable ‘x1’ [-Wunused-variable] int i, x1, x2, y1, y2, z1, z2; ^ user.cpp:22:16: warning: unused variable ‘x2’ [-Wunused-variable] int i, x1, x2, y1, y2, z1, z2; ^ user.cpp:22:20: warning: unused variable ‘y1’ [-Wunused-variable] int i, x1, x2, y1, y2, z1, z2; ^ user.cpp:22:24: warning: unused variable ‘y2’ [-Wunused-variable] int i, x1, x2, y1, y2, z1, z2; ^ user.cpp:22:28: warning: unused variable ‘z1’ [-Wunused-variable] int i, x1, x2, y1, y2, z1, z2; ^ user.cpp:22:32: warning: unused variable ‘z2’ [-Wunused-variable]

Ceva nu functioneaza?