Search found 6 matches

by Nahian.Sunny
Thu Feb 05, 2015 11:41 am
Forum: Volume 106 (10600-10699)
Topic: 10653 - Bombs! NO they are Mines!!
Replies: 36
Views: 24540

Re: 10653 - Bombs! NO they are Mines!!

oh! how silly of me! got acc now... thnx brianfry :D
by Nahian.Sunny
Tue Feb 03, 2015 7:31 am
Forum: Volume 106 (10600-10699)
Topic: 10653 - Bombs! NO they are Mines!!
Replies: 36
Views: 24540

Re: 10653 - Bombs! NO they are Mines!!

Why WA? Plz help

Code: Select all

Removed after AC
by Nahian.Sunny
Thu Jan 01, 2015 12:52 pm
Forum: Volume 114 (11400-11499)
Topic: 11475 - Extend to Palindrome
Replies: 32
Views: 20810

Re: 11475 - Extend to Palindrome

Can anyone plz help?? Why WA ??? My output matches with all test cases ... still WA!!


#include <iostream>
#include <algorithm>
#include <fstream>
#include <string>
#include <iostream>

using namespace std;

string input;

int is_palli()
{
int i,n=input.size();
for(i=0;i<n/2;i++)
{
if(input[i ...
by Nahian.Sunny
Thu Nov 06, 2014 7:52 am
Forum: Volume 2 (200-299)
Topic: 227 - Puzzle
Replies: 56
Views: 19319

Re: 227 - Puzzle

Removed after AC :D
by Nahian.Sunny
Tue Oct 28, 2014 8:39 am
Forum: Volume 7 (700-799)
Topic: 706 - LCD Display
Replies: 221
Views: 65893

Re: 706 - LCD Display

I have tried everything, but still getting "wrong answer"

My program seens alright... Did a lot of testing and couldn't find any error;

- I'm considering leading zeros (printing them)
- I'm printing the blank columns between digits
- I'm also printing new lines after the numbers
- I've read in ...
by Nahian.Sunny
Tue Oct 21, 2014 12:53 pm
Forum: Volume 4 (400-499)
Topic: 424 - Integer Inquiry
Replies: 96
Views: 39113

Re: 424 - Integer Inquiry

Why i am getting WA each time? i have tried all test cases available...but still it's WA!!! can anyone help plz???????????????

#include <iostream>

using namespace std;

int main()
{
string s;
char a[110];
int i,j,c,b,n=0;
for(i=0;i<110;i++)
a[i]='0';
a[i]=NULL;
while(1)
{
getline(cin,s ...

Go to advanced search