1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
#include <iostream>
#include "cielib.h"
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int t[501];

int main() {
	int r = podajR();
	int d=podajD();
	int k=podajK();
	
	int t[501];
	
	for(int i=0;i<=d;i++)t[i]=(r/2);
	
	znalazlem(t);
	
	return 0;
}