View previous topic :: View next topic |
Author |
Message |
gogodr I post too much Reputation: 125
Joined: 19 Dec 2006 Posts: 2041
|
Posted: Wed Aug 22, 2012 12:29 pm Post subject: This shit again, don't look |
|
|
Code: | Especificaciones:
-Objetivo
-Entrada
-Precondiciones
-Salida
-Postcondiciones
Encontrado <- Falso
Index <- 1
Repetir Mientras Encontrado = falso y index <= n
Si L[index] = x entonces
Encontrado <- Verdadero
{Fin Si}
index ++
{Fin Repetir}
Si index > n entonces
index <- 0
{Fin Si}
index <- n/2
---------------------------------
Repetir mientras no Encontrado entonces
Si L[index] < x entonces
t <- t/2
index <- index + t
Si_no Si L[index] > x entonces
t <- t/2
index <- index - t
Si_no
Encontrado <-Verdadero
{Fin Si}
---------------------------------
Repetir de k=2 hasta n de 1 en 1
Si L[K] = L[k-1] entonces
Repetir h = k hasta n de 1 en 1
L[h-1] = L[h]
n=n-1
{Fin Repetir}
{Fin Repetir}
-----------------------------
n2<-0
Repetir de k=1 hasta n-1 de 1 en 1
Si no L[K] = L[k+1] entonces
n2 <-n2+1
L2[n2] = L[k]
{Fin Si}
{Fin Repetir}
Si no L[n-1] = L[n] entonces
n2<-n2+1
L2[n2] <- L[n]
{Fin Si}
----------------------------------
x <- 1
y <- 1
z <- 1
Repetir mientras no (y = m+1 o z = m+1)
Si A[y] < B[z] Entonces
C[x] <- A[y]
x<-x+1
y<-y+1
{Fin Si}
Si A[y] > B[z] Entonces
C[x] <- B[z]
x <- x+1
z <- z+1
{Fin Si}
Si A[y] = B[z] Entonces
C[x] <- B[z]
x <- x+1
z <- z+1
y <- y+1
{Fin Si}
{Fin Repetir}
Si y < m+1 entonces
Repetir de k = y hasta k = m de 1 en 1
C[x] <- A[y]
{Fin Repetir}
{Fin Si}
Si z < n+1 entonces
Repetir de k = z hasta k = n de 1 en 1
C[x] <- B[z]
{Fin Repetir}
{Fin Si}
---------------------------------------
Para k = 1 hasta k = x de 1 en 1
Para h = 1 hasta h = y de 1 en 1
B[k,h] = A[h,k]
{Fin Repetir}
{Fin Repetir}
|
|
|
Back to top |
|
|
teeigeryuh Master Cheater Reputation: 23
Joined: 13 Oct 2008 Posts: 261 Location: The netherlands
|
Posted: Wed Aug 22, 2012 12:57 pm Post subject: |
|
|
te gusta el helado?
_________________
ლ(╹◡╹ლ) |
|
Back to top |
|
|
1929394839292057839194958 Grandmaster Cheater Supreme Reputation: 130
Joined: 22 Dec 2006 Posts: 1508
|
Posted: Wed Aug 22, 2012 2:01 pm Post subject: |
|
|
Or you could use google docs.
|
|
Back to top |
|
|
teeigeryuh Master Cheater Reputation: 23
Joined: 13 Oct 2008 Posts: 261 Location: The netherlands
|
Posted: Wed Aug 22, 2012 2:43 pm Post subject: |
|
|
cx sync
_________________
ლ(╹◡╹ლ) |
|
Back to top |
|
|
SF I'm a spammer Reputation: 119
Joined: 19 Mar 2007 Posts: 6028
|
Posted: Wed Aug 22, 2012 6:33 pm Post subject: |
|
|
Bruce Lee wrote: | you'd think you'd have learned your lesson last time where you lost everything because the forums had to be restored, and i helped you get them back
email them to yourself, idiot |
this, especially considering...
[19:45:02] <Guest40420> yeeh, ce.org's harddrivei s giving a SMART error
_________________
|
|
Back to top |
|
|
gogodr I post too much Reputation: 125
Joined: 19 Dec 2006 Posts: 2041
|
Posted: Wed Aug 22, 2012 6:42 pm Post subject: |
|
|
|
|
Back to top |
|
|
Kargarok Advanced Cheater Reputation: 10
Joined: 28 Jul 2011 Posts: 60
|
Posted: Wed Aug 22, 2012 6:44 pm Post subject: |
|
|
JUST SAVE AS A .TXT
|
|
Back to top |
|
|
Helium Newbie cheater Reputation: 0
Joined: 21 May 2011 Posts: 21
|
Posted: Wed Aug 22, 2012 8:00 pm Post subject: |
|
|
teeigeryuh wrote: | te gusta el helado? |
Holy fucking shit, I know a kid that looks just like the dude in your left signature photo >.>
|
|
Back to top |
|
|
Cryoma Member of the Year Reputation: 198
Joined: 14 Jan 2009 Posts: 1819
|
Posted: Wed Aug 22, 2012 10:26 pm Post subject: |
|
|
I usually PM myself stuff I want to save for later... I don't know why but cef just seems like a notepad now.
|
|
Back to top |
|
|
PUSHEAX_PUSHEAX Grandmaster Cheater Reputation: 72
Joined: 13 Apr 2009 Posts: 969
|
Posted: Wed Aug 22, 2012 10:58 pm Post subject: |
|
|
There's so many better alternative options.
Google drive, Dropbox, a web server, the list goes on.
|
|
Back to top |
|
|
gogodr I post too much Reputation: 125
Joined: 19 Dec 2006 Posts: 2041
|
Posted: Wed Aug 22, 2012 11:29 pm Post subject: |
|
|
CEF is the best alternative
|
|
Back to top |
|
|
Cryoma Member of the Year Reputation: 198
Joined: 14 Jan 2009 Posts: 1819
|
Posted: Thu Aug 23, 2012 1:21 am Post subject: |
|
|
Yeah it's like... There... And you get free entertainment with your storage when you read the replies.
|
|
Back to top |
|
|
|