fork download
  1. #import <Foundation/Foundation.h>
  2.  
  3. int main() {
  4. NSAutoreleasePool *pool = [NSAutoreleasePool new];
  5. NSNumber *A = [NSNumber numberWithBool:NO];
  6. NSNumber *B = [NSNumber numberWithChar:'z'];
  7. NSNumber *C = [NSNumber numberWithUnsignedChar:255];
  8. NSNumber *D = [NSNumber numberWithShort:32767];
  9. NSNumber *E = [NSNumber numberWithUnsignedShort:65535];
  10. NSNumber *F = [NSNumber numberWithInt:2147483647];
  11. NSNumber *G = [NSNumber numberWithUnsignedInt:4294967295];
  12. NSNumber *H = [NSNumber numberWithLong:9223372036854775807];
  13. NSNumber *I = [NSNumber numberWithUnsignedLong:18446744073709551615];
  14. NSNumber *J = [NSNumber numberWithFloat:26.99f];
  15. NSNumber *K = [NSNumber numberWithDouble:26.99];
  16. [pool drain];
  17. return 0;
  18. }
  19.  
  20.  
Success #stdin #stdout 0.02s 42064KB
stdin
Standard input is empty
stdout
Standard output is empty