/ MacHack 1998
/ MacHack 1998.toast / Programming Contest / MacHack Contest.sit / MacHack Contest / Test Code Folder / Problem 06 Test Code / Main.cp ![]() | next > |
MacBinary | 1998-06-07 | 896 b | [TEXT/CWIE] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
10% | dexvert | MacBinary (archive/macBinary) | fallback | Supported |
1% | dexvert | MS-DOS Code Page Info (other/dosCodePage) | ext | Unsupported |
1% | dexvert | Text File (text/txt) | fallback | Supported |
100% | file | MacBinary II, Sun Jun 7 17:08:16 1998, modified Sun Jun 7 17:08:16 1998, creator 'CWIE', type ASCII, 241 bytes "Main.cp" , at 0x171 410 bytes resource | default (weak) | |
99% | file | data | default | |
74% | TrID | Macintosh plain text (MacBinary) | default | |
25% | TrID | MacBinary 2 | default (weak) | |
100% | siegfried | fmt/1762 MacBinary (II) | default | |
100% | lsar | MacBinary | default |
id metadata | |
---|---|
key | value |
macFileType | [TEXT] |
macFileCreator | [CWIE] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 07 4d 61 69 6e 2e 63 | 70 00 00 00 00 00 00 00 |..Main.c|p.......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 00 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 00 f1 00 | 00 01 9a b1 a0 b1 c0 b1 |........|........|
|00000060| a0 b1 c0 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 67 ab 00 00 |........|....g...|
|00000080| 23 69 6e 63 6c 75 64 65 | 20 22 53 6f 6c 75 74 69 |#include| "Soluti|
|00000090| 6f 6e 2e 68 22 0d 0d 23 | 69 6e 63 6c 75 64 65 20 |on.h"..#|include |
|000000a0| 22 50 72 6f 62 6c 65 6d | 55 74 69 6c 73 2e 68 22 |"Problem|Utils.h"|
|000000b0| 0d 0d 70 61 73 63 61 6c | 20 4f 53 45 72 72 20 43 |..pascal| OSErr C|
|000000c0| 68 65 63 6b 43 68 65 73 | 73 28 20 63 6f 6e 73 74 |heckChes|s( const|
|000000d0| 20 46 53 53 70 65 63 2a | 20 69 6e 66 69 6c 65 2c | FSSpec*| infile,|
|000000e0| 20 63 6f 6e 73 74 20 46 | 53 53 70 65 63 2a 20 6f | const F|SSpec* o|
|000000f0| 75 74 66 69 6c 65 2c 20 | 42 6f 6f 6c 65 61 6e 20 |utfile, |Boolean |
|00000100| 2a 63 6f 72 72 65 63 74 | 20 29 3b 0d 0d 69 6e 74 |*correct| );..int|
|00000110| 20 6d 61 69 6e 28 29 0d | 7b 0d 09 70 72 69 6e 74 | main().|{..print|
|00000120| 66 28 20 22 53 74 61 72 | 74 69 6e 67 5c 6e 22 20 |f( "Star|ting\n" |
|00000130| 29 3b 0d 09 0d 09 50 72 | 6f 62 6c 65 6d 52 75 6e |);....Pr|oblemRun|
|00000140| 53 69 6e 67 6c 65 46 69 | 6c 65 54 65 73 74 73 28 |SingleFi|leTests(|
|00000150| 20 43 68 65 63 6b 43 68 | 65 73 73 20 29 3b 0d 0d | CheckCh|ess );..|
|00000160| 09 72 65 74 75 72 6e 20 | 6e 6f 45 72 72 3b 0d 7d |.return |noErr;.}|
|00000170| 0d 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00000190| 2b 30 38 30 30 31 35 3a | 35 35 3a 33 32 20 31 39 |+080015:|55:32 19|
|000001a0| 39 38 00 00 00 00 00 00 | 00 00 b1 78 6a 77 00 00 |98......|...xjw..|
|000001b0| 07 4d 61 69 6e 2e 63 70 | 65 64 20 4d 61 63 48 61 |.Main.cp|ed MacHa|
|000001c0| 63 6b 20 43 6f 6e 74 65 | 73 74 31 2e 73 69 74 69 |ck Conte|st1.siti|
|000001d0| 02 4a 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |.JPartSI|T!......|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 b1 b0 40 91 00 00 | 00 00 00 00 01 9a 00 00 |....@...|........|
|00000200| 00 00 29 bc 7f 92 00 00 | 00 00 20 52 65 3a 20 46 |..).....|.. Re: F|
|00000210| 6f 6c 64 65 72 20 48 69 | 65 72 61 72 63 68 79 20 |older Hi|erarchy |
|00000220| 44 75 70 6c 69 63 61 74 | 69 6f 6e 0d 00 00 00 00 |Duplicat|ion.....|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 04 36 35 37 a4 00 00 |........|..657...|
|00000250| 00 00 00 00 00 00 00 00 | 00 01 be ab 00 00 05 f2 |........|........|
|00000260| 00 00 02 90 02 07 31 32 | 2f 35 2f 39 38 34 30 30 |......12|/5/98400|
|00000270| 30 32 31 3a 30 31 3a 35 | 36 20 31 39 39 38 00 00 |021:01:5|6 1998..|
|00000280| 00 00 00 48 00 0a 47 65 | 6e 65 76 61 00 00 00 00 |...H..Ge|neva....|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 02 | 00 02 00 2d 00 66 02 41 |........|...-.f.A|
|000002b0| 02 bc 00 2d 00 66 02 41 | 02 bc b1 a0 6b 70 00 00 |...-.f.A|....kp..|
|000002c0| 00 31 00 00 00 31 00 00 | 00 00 01 00 00 00 00 04 |.1...1..|........|
|000002d0| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|000002e0| 00 00 00 46 05 7b 83 48 | 42 78 00 00 00 1c 00 46 |...F.{.H|Bx.....F|
|000002f0| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00000300| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00000310| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+