首页 > > 详细

C++辅导 Programming Project 02解析C/C++ Assignment


Introduction
highly composite number
#include
using namespace std;
int main()
{
int n,i,j,tmp,ans;
cin>>n;
if(n= 1 prints “Error”. Though
the requirements also mention that it should be an integer, we are not yet capable of testing for that.
Deliverables
proj02.cpp – your source code solution (remember to include your section, the date, project number
and comments).
1. Please be sure to use the specified file name, i.e. “proj02.cpp”
2. Electronically submit a copy of the file to Mimir
1) For Mimir, note that there are 4 test cases for 2 points each, a total of 8 points. 2 more
points will be assessed after you turn the project in by the TAs for the quality of your
code.
Notes
1. Don’t get all weirded out by the testing of Mimir. Figure out each part of the program and test it
yourself. Can you, for example, determine if the input number is >=1? Write that code and test
it yourself. Mimir is the final test, but trying to do it all at once is a mistake.
2. The cycle should be edit-compile-test. Do it in the small, work your way up, and only after you
have tested all the parts, then test it against Mimir.
3. You can do all the work in x2go, in Mimir (before you submit it for testing), on your own
laptop, doesn’t matter. Get your rhythm going, find out your workflow and start to see if you
have a good approach. These are easy problems, they get harder so work on your approach now
while you have a chance.
4. Finally, stay on top of this class! The worst part about getting behind here is that it is very
difficult to catch up. Look at the examples, watch the videos, look at the slides. If you miss
something (a project, a pre-lab, etc.) brush it off and keep going. There is no makeup but there
is a lot of material and you have many opportunities. Don’t let one late element get you down,
just keep going!

联系我们
  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp
热点标签

联系我们 - QQ: 99515681 微信:codinghelp
程序辅导网!