Labirintas

Taškai: 0

Compile: FAIL

labirintas.cpp:126:2: error: expected unqualified-id before ‘/’ token */ ^ labirintas.cpp:126:2: error: expected constructor, destructor, or type conversion before ‘/’ token labirintas.cpp: In function ‘int main()’: labirintas.cpp:138:10: error: conflicting declaration of C function ‘int main()’ int main() ^ labirintas.cpp:68:5: note: previous declaration ‘int main(int, const char**)’ int main(int argc, const char * argv[]) { ^ labirintas.cpp:142:5: error: ‘cin’ was not declared in this scope cin >> y >> x; ^ labirintas.cpp:243:13: error: ‘cout’ was not declared in this scope cout << p[a][b]; ^ labirintas.cpp:245:9: error: ‘cout’ was not declared in this scope cout << '\n'; ^ labirintas.cpp:140:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("labirintas.in", "r", stdin); ^ labirintas.cpp:141:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("labirintas.out", "w", stdout); ^

nr.resulttimemessage