Borderou de evaluare (job #1838105)

Utilizator mihaiadelinamihai adelina mihaiadelina Data 31 decembrie 2016 00:15:27
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:2: error: ‘punct’ does not name a type punct a, b, c; ^ user.cpp: In function ‘void citire()’: user.cpp:23:2: error: ‘cin’ was not declared in this scope cin >> v; ^ user.cpp:26:19: error: ‘n’ was not declared in this scope for (i = 1; i <= n; i++) ^ user.cpp:27:15: 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:25: 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:35: 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:45: 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:55: 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:65: 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:9: warning: unused variable ‘x1’ [-Wunused-variable] int i, x1, x2, y1, y2, z1, z2; ^ user.cpp:22:13: warning: unused variable ‘x2’ [-Wunused-variable] int i, x1, x2, y1, y2, z1, z2; ^ user.cpp:22:17: warning: unused variable ‘y1’ [-Wunused-variable] int i, x1, x2, y1, y2, z1, z2; ^ user.cpp:22:21: warning: unused variable ‘y2’ [-Wunused-variable] int i, x1, x2, y1, y2, z1, z2; ^ user.cpp:22:25: warning: unused variable ‘z1’ [-Wunused-variable] int i, x1, x2, y1, y2, z1, z2; ^ user.cpp:22:29: warning: unused variable ‘z2’ [-Wunused-variable]

Ceva nu functioneaza?