Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as C by :( ( 15 years ago )
#include <stdio.h>
char tab1[1000];
int tab2[1000];
int city_count;
int merge_count;
int city_ended;
int A, B, C, D, E, F;
//wczytywanie danych do tab1 sie tutaj pojawi
tab1 = "FAFAFAFAFAFAFAFAFFFFFFFAAAFAF";
//spacerki po wierszach
main()
{
int i;
for(i=0; i<TABWIDTH; ++i)
if (tab1[i] == D, E, F)
city_count ++;
city_ended = 0;
if (city_ended && tab1[i] == B, C, F)
city_count ++;
if (tab1[i] == B, E, F)
tab2[i]=city_count;
else
tab2[i]=-1;
if (tab1[i] == B, C)
city_ended = 1;
return tab2;
}
Revise this Paste