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 ...
Search found 8 matches
- Thu Apr 03, 2014 2:42 pm
- Forum: Volume 123 (12300-12399)
- Topic: 12342 - Tax Calculator
- Replies: 33
- Views: 21756
- 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
}
- 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 ...
#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 ...
- Mon Mar 10, 2014 8:26 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
Thanks, got AC
- 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
- Wed Mar 05, 2014 1:13 pm
- Forum: Volume 120 (12000-12099)
- Topic: 12015 - Google is Feeling Lucky
- Replies: 8
- Views: 10076
- 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 ...
#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 ...
- 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 ...
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 ...