Search found 5 matches
- Wed Sep 03, 2014 10:51 pm
- Forum: Volume 7 (700-799)
- Topic: 727 - Equation
- Replies: 156
- Views: 38747
Re: 727 - Equation
Thank you, i have forgotten to print a blank line
- Mon Sep 01, 2014 9:45 pm
- Forum: Volume 114 (11400-11499)
- Topic: 11428 - Cubes
- Replies: 64
- Views: 18982
Re: 11428 - Cubes
i am getting WA but i got accurate answer using http://www.udebug.com/UVa/11428 output: #include <iostream> #include <cstdio> #include <cmath> using namespace std; int main() { int num; int arr[100]; int a,b; // freopen("text.txt","r",stdin); while(scanf("%d",&num)=...
- Sun Aug 24, 2014 10:52 pm
- Forum: Volume 4 (400-499)
- Topic: 483 - Word Scramble
- Replies: 122
- Views: 23988
Re: 483 - Word Scramble
thank you lighted . i can not do this type of error again.
- Sun Aug 24, 2014 10:14 pm
- Forum: Volume 7 (700-799)
- Topic: 727 - Equation
- Replies: 156
- Views: 38747
Re: 727 - Equation
I am getting wrong answer though i have gotten equivalent postfix expression. may be i am not printing a blank line properly. pls help me . here my code : #include <iostream> #include<cstdio> #include <cstring> #include <cstdlib> #include <string> #include <algorithm> #include <stack> using namespac...
- Sun Aug 17, 2014 8:25 pm
- Forum: Volume 4 (400-499)
- Topic: 483 - Word Scramble
- Replies: 122
- Views: 23988
Re: Getting WA with 483 Word Scramble
I am getting presentation error . Please someone help me? #include <iostream> #include <cstdio> #include <cstring> using namespace std; void reverse_string(char* pch) { int len=strlen(pch); char temp; for(int i=0;i<len/2;i++) { temp=pch ; pch =pch[len-i-1]; pch[len-i-1]=temp; } printf("%s "...