Borderou de evaluare (job #2021687)

Utilizator OldpugAlex Ionescu Oldpug Data 14 septembrie 2017 12:03:47
Problema Generare de permutari Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:24:3: error: ‘cin’ is not a member of ‘std’ std::cin >> mapSize; ^ user.cpp:26:16: error: incompatible types in assignment of ‘int’ to ‘int [175]’ *(map + i) = 2147483647; ^ user.cpp:29:3: error: ‘cin’ is not a member of ‘std’ std::cin >> exit.Y; ^ user.cpp:32:5: error: ‘cin’ is not a member of ‘std’ std::cin >> temp.X >> temp.Y; ^ user.cpp:32:17: error: ‘temp’ was not declared in this scope std::cin >> temp.X >> temp.Y; ^ user.cpp:36:3: error: ‘cin’ is not a member of ‘std’ std::cin >> entry.X >> entry.Y >> exit.X >> exit.Y; ^ user.cpp:39:3: error: ‘queue’ was not declared in this scope queue<Point> que; ^ user.cpp:39:3: note: suggested alternative: In file included from /usr/include/c++/4.8/queue:64:0, from user.cpp:2: /usr/include/c++/4.8/bits/stl_queue.h:93:11: note: ‘std::queue’ class queue ^ user.cpp:39:14: error: expected primary-expression before ‘>’ token queue<Point> que; ^ user.cpp:39:16: error: ‘que’ was not declared in this scope queue<Point> que; ^ user.cpp:50:19: error: unable to deduce ‘auto’ from ‘crr’ auto temp = crr; ^ user.cpp:62:3: error: ‘cout’ is not a member of ‘std’ std::cout << map[exit.X][exit.Y]; ^ user.cpp:15:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("alee.in", "r", stdin); ^ user.cpp:16:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("alee.out", "w", stdout); ^

Ceva nu functioneaza?