Last active
March 13, 2017 22:07
-
-
Save jakehawken/7d24fa44ebaa1d92e650 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
@interface Solver : NSObject | |
+ (void)findSolutionForInput: (NSArray*)input; | |
@end | |
@interface Solver() | |
{ | |
} | |
@end | |
@implementation Solver | |
+ (void)findSolutionForInput: (NSArray*)input | |
{ | |
NSString *solution = [NSString stringWithFormat:@"Solution!"]; | |
printf("%s", [solution UTF8String]); | |
} | |
@end | |
int main (int argc, const char * argv[]) | |
{ | |
@autoreleasepool | |
{ | |
NSArray *input = @[]; | |
[Solver findSolutionForInput:input]; | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment