Ilgiausias didejantis posekis 2

Taškai: 0

Compile: FAIL

posekis2.cpp:1:2: error: stray ‘#’ in program +#include <fstream> ^ posekis2.cpp:1:1: error: expected unqualified-id before ‘+’ token +#include <fstream> ^ posekis2.cpp:4:1: error: ‘ifstream’ does not name a type ifstream cin ("posekis2.in"); ^ posekis2.cpp:5:1: error: ‘ofstream’ does not name a type ofstream cout ("posekis2.out"); ^ posekis2.cpp: In function ‘int main()’: posekis2.cpp:11:5: error: ‘cin’ was not declared in this scope cin >> n; ^ posekis2.cpp:22:5: error: ‘cout’ was not declared in this scope cout << m+1 << "\n"; ^

nr.resulttimemessage