The tasks for week 10 are as follows:
Week problem: 00760 DNA Sequencing
Weekend problem: 11107 Life Forms
Suggested bonus: 11512 GATTACA
You must submit your solutions on http://uva.onlinejudge.org/
You can browse to these problems from the online judge website by clicking on Browse Problems, Contest Volumes, and then selecting the contest volume as indicated above.
Please post below which of the questions you have been able to finish.
For each task, please let us know how much time you have spent on understanding / coding / debugging.
For each task let us know what the hardest part was. (This can be anything, ranging from not having read the problem to forgetting about a border case, to a semicolon in the wrong spot that screwed up an if-statement...)
I'm stuck on the input part of this problem. How do you input the two lines, plus an extra blank line?
This does not work:
cin >> x >> y >> t;
cout << endl;
You can do this:
To get input line-by-line