Borderou de evaluare (job #1306283)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 30 decembrie 2014 20:22:40
Problema Pachete Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:11:1: error: expected unqualified-id before ‘int’ int s[50010], a, b, u, mid,nr1; ^ user.cpp: In function ‘void code()’: user.cpp:15:9: error: ‘d’ was not declared in this scope for(d = 1; d <= 4; d ++){ ^ user.cpp:18:13: error: ‘nr2’ was not declared in this scope nr2 = 1; ^ user.cpp:4:11: error: ‘second’ was not declared in this scope #define s second ^ user.cpp:19:13: note: in expansion of macro ‘s’ s[1] = v[d][1].s; ^ user.cpp:22:17: error: ‘u’ was not declared in this scope u = nr2; ^ user.cpp:24:21: error: ‘mid’ was not declared in this scope mid = (p + u) / 2; ^ user.cpp:34:13: error: ‘nr1’ was not declared in this scope nr1 += nr2; ^ user.cpp:37:13: error: ‘nr1’ was not declared in this scope fout << nr1; ^ user.cpp: In function ‘void read()’: user.cpp:44:16: error: ‘ii’ was not declared in this scope fin >> ii >> jj; ^ user.cpp:44:22: error: ‘jj’ was not declared in this scope fin >> ii >> jj; ^ user.cpp:48:32: error: ‘a’ was not declared in this scope v[1][w[1]].f = a; ^ user.cpp:49:32: error: ‘b’ was not declared in this scope v[1][w[1]].s = b; ^ user.cpp:53:32: error: ‘a’ was not declared in this scope v[2][w[2]].f = a; ^ user.cpp:54:32: error: ‘b’ was not declared in this scope v[2][w[2]].s = b; ^ user.cpp:60:32: error: ‘a’ was not declared in this scope v[3][w[3]].f = a; ^

Ceva nu functioneaza?