voisko joku suorittaa tai jotain tän ohjelman ja kertoo mitkä luvut siitä tuli
Encrypted coordinates: 43,37,46,63,10,44,22,25,97,52,97,74,36,10
int encrypted [14] = {x,x,x,x,x,x,x,x,x,x,x,x,x,x};
int key [14] = {x,x,x,x,x,x,x,x,x,x,x,x,x,x};
int key2 [14] = {2,9,5,7,6,1,8,3,2,7,3,7,4,2};
int divisor;
int subtrahend;
int coordinates [14];
for (i = 0; i < 14; i ) {
divisor = key2[ i] key[13 - i];
subtrahend = key[ i] key2[9];
coordinates[ i]= (encrypted[ i]- subtrahend)/divisor;
}
Encrypted coordinates: 43,37,46,63,10,44,22,25,97,52,97,74,36,10
int encrypted [14] = {x,x,x,x,x,x,x,x,x,x,x,x,x,x};
int key [14] = {x,x,x,x,x,x,x,x,x,x,x,x,x,x};
int key2 [14] = {2,9,5,7,6,1,8,3,2,7,3,7,4,2};
int divisor;
int subtrahend;
int coordinates [14];
for (i = 0; i < 14; i ) {
divisor = key2[ i] key[13 - i];
subtrahend = key[ i] key2[9];
coordinates[ i]= (encrypted[ i]- subtrahend)/divisor;
}
Vastaukset 2
Vanhimmat
>...mitkä luvut siitä tuli
Ei tule mitään lukuja vaan virheilmoitus kun vektoreita encrypted ja key ei ole alustettu asiallisesti.
http://www.geocaching.com/seek/cache_details.aspx?wp=GC1MBWA