Computer Science Canada

DWITE 2009/2010 R2 Q4 problem

Author:  saltpro15 [ Wed Nov 25, 2009 4:40 pm ]
Post subject:  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

Author:  Dan [ Wed Nov 25, 2009 4:48 pm ]
Post subject:  RE:DWITE 2009/2010 R2 Q4 problem

This is the code that i can see in the file:

code:

#include<iostream>
#include<fstream>
#include<cmath>
#include<cstring>
#include<algorithm>
#include<queue>
using namespace std;
int main()
{
    ifstream fin ("DATA4.txt");
    ofstream fout ("OUT4.txt");
   


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)

Author:  saltpro15 [ Wed Nov 25, 2009 4:50 pm ]
Post subject:  RE:DWITE 2009/2010 R2 Q4 problem

if I PM you the real file can it still be marked?

Author:  Dan [ Wed Nov 25, 2009 4:51 pm ]
Post subject:  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.

Author:  saltpro15 [ Wed Nov 25, 2009 4:52 pm ]
Post subject:  RE:DWITE 2009/2010 R2 Q4 problem

Thanks!!


: