prog.m: In function '-[Police minimalCost:junctionInfo:]':
prog.m:17:8: error: array type has incomplete element type
prog.m:18:4: error: 'for' loop initial declarations are only allowed in C99 mode
prog.m:18:4: note: use option -std=c99 or -std=gnu99 to compile your code
prog.m:19:2: error: 'for' loop initial declarations are only allowed in C99 mode
prog.m:20:4: warning: 'NSArray' may not respond to '-characterAtIndex:'
prog.m:20:4: warning: (Messages without a matching method signature
prog.m:20:4: warning: will be assumed to return 'id' and accept
prog.m:20:4: warning: '...' as arguments.)
prog.m:20:4: error: cannot convert to a pointer type
prog.m:20:51: warning: comparison between pointer and integer
prog.m: In function 'main':
prog.m:28:2: warning: passing argument 1 of 'arrayWithObjects:' makes pointer from integer without a cast
prog.m:28:2: note: expected 'id' but argument is of type 'int'
prog.m:28:14: warning: initialization from incompatible pointer type
prog.m:29:14: warning: initialization from incompatible pointer type