User Tools

Site Tools


rosedu:cdl:marius-dragus

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
rosedu:cdl:marius-dragus [2010/03/27 10:05]
mdragus
rosedu:cdl:marius-dragus [2020/07/20 09:16] (current)
Line 1: Line 1:
-Marius Dragus =  +Shidfar Hodizoda =  
-*Nume complet: Dragus Marius Ioan +  * Nume complet: Shidfar Hodizoda 
-*Alias-uri: DMI +  * Alias-uri: Dragus Marius Ioan 
-*Data/locul nașterii: 14 octombrie 1990,Cluj-Napoca +  * Data/locul nașterii: 14 octombrie 1990,Cluj-Napoca 
-== Educatie ==+ 
 +===== Educatie =====
  *2005-2009 Liceul International de informatica Bucuresti  *2005-2009 Liceul International de informatica Bucuresti
  *2009-prezent Universitatea Politehnica Bucuresti  *2009-prezent Universitatea Politehnica Bucuresti
  
-== Competente == +===== Competente ===== 
-*sunt smecher ce sa mai....+  * sunt smecher ce sa mai....
  
-== Link-uri spre alti oameni smecheri ==+===== Link-uri spre alti oameni smecheri =====
 [[rosedu:cdl:mircea-ghideu|Mircea Ghideu]] [[rosedu:cdl:mircea-ghideu|Mircea Ghideu]]
 +
 [[rosedu:cdl:george-mitra|Mitra M. George-Daniel]] [[rosedu:cdl:george-mitra|Mitra M. George-Daniel]]
 +==Acum niste cod baby==
 +<code>#include<stdio.h>
 +  - include<assert.h>
 +  - include<vector>
 +  - include<algorithm>
 +  - define pb push_back
 +  - define mkp make_pair
 +
 +using namespace std;
 +const int maxn = 340;
 +
 +vector<short> VECT[maxn];
 +vector<pair<short,short> > ANS,AUX,VEC;
 +short N,MOVE,COST;
 +short VER[maxn];
 +short NRT,TATA[maxn];
 +short D[maxn][maxn],M[maxn][maxn];
 +
 +bool cmpf(pair<short,short> p1,pair<short,short> p2)
 +{
 + short n1 = p1.first;
 + short n2 = p2.first;
 + short i1 = p1.second;
 + short i2 = p2.second;
 + for(;i1 <= N && i2 <= N;++i1,++i2)
 + {
 + if (D[n1][i1] != D[n2][i2]) return D[n1][i1] < D[n2][i2];
 +                if (D[n1][i1] == 0) return false;
 +        }
 + return false;
 +}
 +
 +</code>
 +
 +==Si un tabel cu giberis==
 +
 +^Ceva ^Blablabla ^altceva ^
 +|caca  |maca|nata|
 +|gata|cu|rimele|
rosedu/cdl/marius-dragus.1269677105.txt.gz · Last modified: 2010/03/27 10:05 by mdragus