Hi! I have been trying this problem for a while now But I am getting WA for this problem. I have passed different test cases.
Here is the code:
#include <iostream>
#include <cstdio>
#include <string>
#include <fstream>
#include <vector>
#include <algorithm>
#include <sstream>
#include <cstdlib ...
Search found 4 matches
- Sun Nov 24, 2013 8:36 pm
- Forum: Volume 5 (500-599)
- Topic: 541 - Error Correction
- Replies: 27
- Views: 16767
- Wed Jan 25, 2012 11:18 am
- Forum: Volume 100 (10000-10099)
- Topic: 10035 - Primary Arithmetic
- Replies: 328
- Views: 101802
Re: UVA 10035
@brianfry . THanks man! i used stringstream instead and it worked
Thanks again 


- Tue Jan 24, 2012 9:38 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10035 - Primary Arithmetic
- Replies: 328
- Views: 101802
Re: UVA 10035
@brianfry, can u please point out what am I doing wrong as I am still unable to figure out.
- Tue Jan 17, 2012 12:27 am
- Forum: Volume 100 (10000-10099)
- Topic: 10035 - Primary Arithmetic
- Replies: 328
- Views: 101802
Re: UVA 10035
I have tried every possible test case i think of but judge is giving me wrong answer. Here is the code. Help me if I am wrong.
#include <iostream>
#include <vector>
#include <string>
#include <cstdio>
#include <sstream>
#include <cstdlib>
using namespace std;
int main()
{
string number1 ...
#include <iostream>
#include <vector>
#include <string>
#include <cstdio>
#include <sstream>
#include <cstdlib>
using namespace std;
int main()
{
string number1 ...