Cod sursa(job #465985)

Utilizator Mishu91Andrei Misarca Mishu91 Data 25 iunie 2010 17:15:13
Problema Mesaj4 Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.25 kb
#include <fstream>

using namespace std;

ifstream fin ("mesaj4.in");
ofstream fout ("mesaj4.out");

int N, M, x, y;

int main() {
	fin >> N >> M >> x >> y;

	fout << 2*(N-1) << "\n";
	for(int i = 1; i <= 2*(N-1); ++i) {
		fout << x << " " << y << "\n";
	}

}