
-----------------------------------
saltpro15
Wed Nov 25, 2009 4:40 pm

DWITE 2009/2010 R2 Q4 problem
-----------------------------------
Hey,  we're having a glitch for Q4.  We've submitted it twice, and we keep getting a compile error "Q4.cpp: In function `int main()':
Q4.cpp:11: error: expected `}' at end of input"

but it compiles fine for us and works!! Please look into this Dan and Tony!!

edit : Team name is Drew and Paul

-----------------------------------
Dan
Wed Nov 25, 2009 4:48 pm

RE:DWITE 2009/2010 R2 Q4 problem
-----------------------------------
This is the code that i can see in the file:

[code]
#include
#include
#include
#include
#include
#include
using namespace std;
int main()
{
    ifstream fin ("DATA4.txt");
    ofstream fout ("OUT4.txt");
    
[/code]

So either you submited the wrong file or some how the end is getting cut off (either due to your browser or to our front end)

-----------------------------------
saltpro15
Wed Nov 25, 2009 4:50 pm

RE:DWITE 2009/2010 R2 Q4 problem
-----------------------------------
if I PM you the real file can it still be marked?

-----------------------------------
Dan
Wed Nov 25, 2009 4:51 pm

RE:DWITE 2009/2010 R2 Q4 problem
-----------------------------------
I will reset your submisions for Q4 so you can try again.

Edit: Done, try submiting it again and we will see what happens.

-----------------------------------
saltpro15
Wed Nov 25, 2009 4:52 pm

RE:DWITE 2009/2010 R2 Q4 problem
-----------------------------------
Thanks!!
