Cod sursa(job #466982)

Utilizator mathboyDragos-Alin Rotaru mathboy Data 28 iunie 2010 10:24:53
Problema Pod Scor 0
Compilator cpp Status done
Runda Stelele Informaticii 2010, clasele X-XII, Ziua 2 Marime 0.28 kb
#include <cstdio>
#include <ctime>
#include <stdlib.h>
#define mod 9901

int n, m, k, a, cnt,i, pr1 = 1;
using namespace std;

int main ()
{
	freopen ("pod.in", "r", stdin);
	freopen ("pod.out", "w", stdout);
	srand (time (NULL));
	a = rand () % mod;
	printf ("%d\n", a);
	return 0;
}