was getting wrong answer on submitting on uva......
please help friends.........waiting for u.......
Search found 2 matches
- Fri Sep 17, 2010 12:12 pm
- Forum: Volume 4 (400-499)
- Topic: 424 - Integer Inquiry
- Replies: 96
- Views: 39237
- Fri Sep 17, 2010 12:08 pm
- Forum: Volume 4 (400-499)
- Topic: 424 - Integer Inquiry
- Replies: 96
- Views: 39237
Re: 424 - Integer Inquiry RE
whats wrong here............??????
im getting correct output for all test cases known ever.....
please check it.........
#include<iostream>
using namespace std;
int main()
{
char ch[110][110];
int i=0,rem=0,j,k,max=0,disp,a;
char str[200];
while(cin>>ch )
{
if(strlen(ch )==1 && ch [0]=='0 ...
im getting correct output for all test cases known ever.....
please check it.........
#include<iostream>
using namespace std;
int main()
{
char ch[110][110];
int i=0,rem=0,j,k,max=0,disp,a;
char str[200];
while(cin>>ch )
{
if(strlen(ch )==1 && ch [0]=='0 ...