HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Forums >


Discussion of problems

Topics are sorted by:  (creation date)  [last post time]

Pages:  (1)  (2)  (3)  ...  (10)  ...  (13)  (14)  (15)  [16]  (17)  (18)

Admin
Sep.24.2014 at 02:27:59 PM
Problem "Монополия" (4)
4 posts
/*
N.K.A
*/
#include <bits/stdc++.h>

#include <iostream>
#include <fstream>
#include <string>
#include <cmath>
#include <iomanip>
#include <vector>
#include <algorithm>
#include <set>
#include <map>
#include <deque>

using namespace std;

#define pb push_back
#define fi first
#define se second
#define in insert
struct Treap{
int y , data , size;
Treap *l;
Treap *r;
};
typedef Treap * item;
void Create( item &t, int x){
t = new Treap;
t ->l = t->r = NULL;
t->data = x;
t->y = (rand()<<16) | rand();
}
int cnt(item t){
return t == NULL ? 0 : t->size;
}
void recalc(item t){


Sep.24.2014 at 12:07:54 PM
Problem "Куб" (0)
0 posts
Sep.24.2014 at 09:58:02 AM
Problem "Hello World!" (0)
0 posts
Sep.24.2014 at 09:38:16 AM
Problem "Муравей" (0)
0 posts
June.16.2013 at 12:29:03 PM
Problem "Chess" (0)
0 posts
June.16.2013 at 12:20:45 PM
Problem "Столица" (0)
0 posts
June.16.2013 at 11:15:38 AM
Problem "Строки" (0)
0 posts
Admin
June.15.2013 at 07:57:25 PM
Problem "Tickets" (7)
7 posts
Сообщение скрыто
June.15.2013 at 07:28:29 PM
Problem "Cow PinBall" (0)
0 posts
June.12.2013 at 07:04:40 PM
Problem "Треугольник и точка" (0)
0 posts
June.12.2013 at 03:03:14 PM
Problem "Сумма цифр делится на K" (0)
0 posts
June.05.2013 at 02:16:25 PM
Problem "Word power" (0)
0 posts
June.05.2013 at 02:06:31 PM
Problem "Арифметическое выражение" (0)
0 posts
June.02.2013 at 02:51:43 PM
Problem "How many digits?" (0)
0 posts
June.02.2013 at 02:51:21 PM
Problem "Sum of N numbers" (0)
0 posts
June.02.2013 at 02:40:23 PM
Problem "Flowchart 2" (0)
0 posts
June.02.2013 at 02:34:32 PM
Problem "Maximum Sum" (0)
0 posts
June.02.2013 at 02:15:31 PM
Problem "A+B" (0)
0 posts
Admin
Nov.08.2012 at 05:01:04 PM
Problem "Cycle detection" (1)
1 post
Сообщение скрыто
Nov.08.2012 at 09:45:09 AM
Problem "Nameplates" (0)
0 posts

Pages:  (1)  (2)  (3)  ...  (10)  ...  (13)  (14)  (15)  [16]  (17)  (18)

www.contester.ru