![]() |
.. (לתיקייה המכילה) | |
Can I change/ignore the supplied functions?
|
Yes. They were supplied to help you. In backtracking question - you can use the function as a wrapper, like in the exam(s)! |
Can I use global/static variables?
| No |
Q1: Can I avoid counting the digits, and solve the question in another way?
| Yes. As long as you do not use loops and meet the complexity requirements. |
Q1: Can I introduce more helper function?
|
Yes. As long as you do not use loops and meet the complexity requirements. |
Q1: Can I scan for number as a string?
| No. It should be int. |
In Q1 should we ignore leading zeroes when reading the number?
|
Yes. 0001000 is 1000, and therefore is not a palindrome |
Are numbers in array unique?
| You can assume this, but you can also solve the question without above assumptions (and in the same way). |
I do not want to work on Question 2, what should I do?
| Submit an empty hw5q2.c file. |
in Q2 what is the meaning of row and column of the supplied matrix?
|
row index - is the index of source city, and column - is the index of the destination city. E.g. in the the distance of city 1 from city 0 is written in cell [0][1] |

