Search found 8 matches

by atanu.barai
Thu Apr 03, 2014 2:42 pm
Forum: Volume 123 (12300-12399)
Topic: 12342 - Tax Calculator
Replies: 33
Views: 21756

Re: 12342 Tax Calculator

Getting WA. Can not figure out the problem


#include <iostream>
#include <string>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>

using namespace std;

int main()
{
long long amount,tax;
int tc,i;
cin>>tc;
for(i=1; i<=tc; i++)
{
// tax = 0;
cin>>amount;
if(amount<=180000)
tax = 0 ...
by atanu.barai
Mon Mar 24, 2014 9:06 am
Forum: Volume 101 (10100-10199)
Topic: 10141 - Request for Proposal
Replies: 44
Views: 24378

Re: 10141 - Request for Proposal

Damm!! Did not notice that!! Now got AC

Code: Select all

Removed After AC
}
by atanu.barai
Mon Mar 10, 2014 8:30 am
Forum: Volume 101 (10100-10199)
Topic: 10101 - Bangla Numbers
Replies: 122
Views: 45880

Re: 10101 - Bangla Numbers

The outputs are the same i think. But getting WA

#include <iostream>
#include <string>
#include <vector>
#include <stdio.h>
#include <stdlib.h>
#include <iomanip>

using namespace std;

int main()
{
vector<string> resulto;
string number, temp, result;
string bangla[]={"","shata","hajar ...
by atanu.barai
Thu Mar 06, 2014 6:07 am
Forum: Volume 120 (12000-12099)
Topic: 12015 - Google is Feeling Lucky
Replies: 8
Views: 10076

Re: 12015 Google is Felling Lucky. Why WA? Please help me

Fixed it but still WA
by atanu.barai
Wed Mar 05, 2014 11:31 am
Forum: Volume 101 (10100-10199)
Topic: 10101 - Bangla Numbers
Replies: 122
Views: 45880

Re: 10101 - Bangla Numbers

Changed the code to

#include <iostream>
#include <string>
#include <vector>
#include <stdio.h>
#include <stdlib.h>
#include <iomanip>

using namespace std;

int main()
{
vector<string> resulto;
string number, temp, result;
string bangla[]={"","shata","hajar","lakh","kuti"};
int i, len ...
by atanu.barai
Fri Feb 28, 2014 9:27 am
Forum: Volume 101 (10100-10199)
Topic: 10101 - Bangla Numbers
Replies: 122
Views: 45880

Re: 10101 - Bangla Numbers

Getting WA
Tested the AC inputs and outputs but can not identify the problem
Here is the code

#include <iostream>
#include <string>
#include <vector>
#include <stdio.h>
#include <stdlib.h>
#include <iomanip>

using namespace std;

int main()
{
vector<string> resulto;
string number, temp;
string ...

Go to advanced search