User Tools

Site Tools


haas:fall2021:cprog:projects:cnv1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

haas:fall2021:cprog:projects:cnv1 [2020/10/15 12:49] – external edit 127.0.0.1haas:fall2021:cprog:projects:cnv1 [2021/09/27 12:01] (current) wedge
Line 102: Line 102:
  
 <cli> <cli>
-yourpi:~/src/cprog/cnv1$ make+yourpi:~/src/SEMESTER/DESIG/cnv1$ make
 </cli> </cli>
  
Line 108: Line 108:
  
 <cli> <cli>
-yourpi:~/src/cprog/cnv1$ make debug+yourpi:~/src/SEMESTER/DESIG/cnv1$ make debug
 </cli> </cli>
  
Line 146: Line 146:
 ====Primary number (nary(1)) output==== ====Primary number (nary(1)) output====
 <cli> <cli>
-yourpi:~/src/cprog/cnv1$ ./cnv1 1 8 24+yourpi:~/src/SEMESTER/DESIG/cnv1$ ./cnv1 1 8 24
 11 13 17 19 23  11 13 17 19 23 
-yourpi:~/src/cprog/cnv1$ +yourpi:~/src/SEMESTER/DESIG/cnv1$ 
 </cli> </cli>
  
 ====Secondary number (nary(2)) output==== ====Secondary number (nary(2)) output====
 <cli> <cli>
-yourpi:~/src/cprog/cnv1$ ./cnv1 2 3 12+yourpi:~/src/SEMESTER/DESIG/cnv1$ ./cnv1 2 3 12
 4 6 8 9 10  4 6 8 9 10 
-yourpi:~/src/cprog/cnv1$ +yourpi:~/src/SEMESTER/DESIG/cnv1$ 
 </cli> </cli>
  
 ====Tertiary number (nary(3)) output==== ====Tertiary number (nary(3)) output====
 <cli> <cli>
-yourpi:~/src/cprog/cnv1$ ./cnv1 3 11 37+yourpi:~/src/SEMESTER/DESIG/cnv1$ ./cnv1 3 11 37
 12 16 18 20 28 32  12 16 18 20 28 32 
-yourpi:~/src/cprog/cnv1$ +yourpi:~/src/SEMESTER/DESIG/cnv1$ 
 </cli> </cli>
  
 The execution of the program is short and simple- obtain the input, do the processing, produce the output, and then terminate. The execution of the program is short and simple- obtain the input, do the processing, produce the output, and then terminate.
- 
- 
  
 =====Reference===== =====Reference=====
Line 173: Line 171:
  
 <cli> <cli>
-yourpi:~/src/cprog/cnv1$ make check+yourpi:~/src/SEMESTER/DESIG/cnv1$ make check
 n-ary(1) from 2 to 50: 2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 n-ary(1) from 2 to 50: 2 3 5 7 11 13 17 19 23 29 31 37 41 43 47
 n-ary(2) from 2 to 50: 4 6 8 9 10 14 15 21 22 25 26 27 33 34 35 38 39 46 49 n-ary(2) from 2 to 50: 4 6 8 9 10 14 15 21 22 25 26 27 33 34 35 38 39 46 49
Line 184: Line 182:
  
 <cli> <cli>
-yourpi:~/src/cprog/cnv1$ make verify+yourpi:~/src/SEMESTER/DESIG/cnv1$ make verify
 ERROR CHECK ERROR CHECK
 ================= =================
Line 234: Line 232:
    need: >36 <    need: >36 <
  
-yourpi:~/src/cprog/cnv1$ +yourpi:~/src/SEMESTER/DESIG/cnv1$ 
 </cli> </cli>
  
Line 252: Line 250:
  
 <cli> <cli>
-lab46:~/src/cprog/cnv1$ make submit+lab46:~/src/SEMESTER/DESIG/cnv1$ make submit
 </cli> </cli>
  
haas/fall2021/cprog/projects/cnv1.1602766149.txt.gz · Last modified: 2020/10/15 12:49 by 127.0.0.1