Search found 10 matches
- Sun Jul 13, 2008 8:22 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10035 - Primary Arithmetic
- Replies: 328
- Views: 65855
Re: 10035 - Primary Arithmetic WA why?
I have tried all sample inputs in this thread and got correct answers.However the on-line judge is giving WA.I can't find any bug.Could someone please help me to track down the bug? here is my code: #include <iostream> #include <cmath> #include <string> using namespace std; #include <stdlib.h> void ...
- Sat Jul 12, 2008 7:11 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10189 - Minesweeper
- Replies: 418
- Views: 79196
Re: 10189 - Minesweeper
THANKS a lot JAN as I got AC.You are truely a great helper.Thanks again for lending some of your valuable time to troubleshoot the problem.
- Wed Jul 09, 2008 8:29 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10189 - Minesweeper
- Replies: 418
- Views: 79196
Re: 10189 - Minesweeper
Thanks Jan.I have modified my code as per suggestion of U .However,still getting WA.here is my modified code:
Code: Select all
removed after AC
- Tue Jul 08, 2008 4:14 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10189 - Minesweeper
- Replies: 418
- Views: 79196
10189 - Minesweeper Why WA can anyone help?
I am getting WA for this easy problem & becoming frustrated.Can anyone give me a suggestion?here is my code
Code: Select all
removed after AC
- Thu Jan 17, 2008 7:24 am
- Forum: C++
- Topic: about reading multiple lines in C++
- Replies: 5
- Views: 3306
Actually I want to read those lines in C++'s string.
like
Can u help me?
like
Code: Select all
string s[2];
int n;
while(n)
{
//read consecutive two lines in s
}
- Wed Jan 16, 2008 5:04 pm
- Forum: C++
- Topic: about reading multiple lines in C++
- Replies: 5
- Views: 3306
about reading multiple lines in C++
Hi everybody.I want to know if there exists any method to read a pair of lines simultaneously with function like getline().I have tried it but it just let me to read a line only.Let me know the method of reading i/p format like below in C++ where I have to read both first and second line inside of a...
- Tue Jan 15, 2008 9:10 am
- Forum: Volume 4 (400-499)
- Topic: 401 - Palindromes
- Replies: 196
- Views: 36454
THANKS!!!
THANKS JAN bhai for your i/p set.It's really helpful!!I have missed {'s','2'} matching set.that's why I was getting WA.Thanks again for your help to get AC.
AND oh yes! I shall try to remember to use code tags if necessary.
AND oh yes! I shall try to remember to use code tags if necessary.
- Sun Jan 13, 2008 3:41 pm
- Forum: Volume 4 (400-499)
- Topic: 401 - Palindromes
- Replies: 196
- Views: 36454
getting WA in #401--can anyone help?
I have tried all test cases given in the forum and got the desired results.
But I still get WA .Can anyone do the favor to take a look at my code &
figure out the bug?thanks in advance.
my code:
[Edited by : Jan] Use code tags.
But I still get WA .Can anyone do the favor to take a look at my code &
figure out the bug?thanks in advance.
my code:
Code: Select all
REMOVED AFTER AC.
Code: Select all
- Tue Jan 08, 2008 3:22 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10370 - Above Average
- Replies: 62
- Views: 20745
10370-WA,please help
I can't figure out the bug in my solution to problem no 10370?Could anyone help me? And sorry for opening a new thread although there is one because I didn't know about that rule/request.i hope I shall not do this in coming future. here is my code: #include <iostream> #include <iomanip> #include <ve...
- Tue Jan 01, 2008 11:20 pm
- Forum: Volume 4 (400-499)
- Topic: 458 - The Decoder
- Replies: 71
- Views: 17256
#458-got TLE,why?plz help
Regards.I got TLE for #458 but couldn't find the bug(s).Can anyboby help? here is my code: #include <iostream> using namespace std; int main() { char ch; while((ch=cin.get())!=EOF) { if(ch==10) cout<<"."<<endl; else { ch-=7; cout<<ch; } } return 0; }