#1 is where's Castle of the Grand Intellect
#2 is where's Fort Vorticon
#3 is where's New Vorticon
#4 is where's Valden Park
#5 is where's Hidden City
But that's just damn confusing.
Just count the islands by starting from the top of the world map, and use the top-most edge of every island. But I guess I can't explain this one.
And the program is pretty simple, it just counts the pixels, and the input it's given is the graphics in uncompressed raw format. The island graphics I formed just by copying them from the level map and removing stuff from the edges if there was any. And ran the following program 5 times:
Code: Select all
#include <stdio.h>
int main(){
long int a=0;
int i=0;
while((i = getchar()) != EOF){
if((i!=1)&&(i!=9)){
a=a+1;
}
}
printf("amount of pixels: %ld\n",a);
}