labpage
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
labpage [2020/12/20 22:25] – aboelaze | labpage [2020/12/21 02:23] (current) – aboelaze | ||
---|---|---|---|
Line 216: | Line 216: | ||
Here is the data file [[http:// | Here is the data file [[http:// | ||
- | how to run your code | + | **IMPORTANT** |
+ | |||
+ | before contacting test your code. How | ||
+ | |||
+ | It is a little bit problematic for me to upload a binary file here, so compile and run this program {{: | ||
+ | |||
+ | This means, compile the C file and run it as | ||
+ | |||
+ | a.out < input.txt | ||
+ | |||
+ | That generates the dat.txt file that you will read it in your lab. | ||
+ | |||
+ | Then run the code you submitted 9after compiling it of course as such | ||
+ | |||
+ | |||
a.out -count | a.out -count | ||
Line 232: | Line 247: | ||
**case 1** | **case 1** | ||
- | 5 | + | 4 |
**case2** | **case2** | ||
Line 259: | Line 274: | ||
4567 Leslie Rider A | 4567 Leslie Rider A | ||
- | **// | ||
labpage.txt · Last modified: 2020/12/21 02:23 by aboelaze