i'm getting WA in the code below..bt don't know about the problems...help me please...
#include<stdio.h>
#include<ctype.h>
#include<string.h>
int main()
{
int count, strln, word, n = 1;
char str[300000];
while(n <1000000)
{
scanf(" %[^\n]", str);
word =count = 0;
strln = strlen(str ...
Search found 6 matches
- Fri Jul 26, 2013 12:20 pm
- Forum: Volume 4 (400-499)
- Topic: 494 - Kindergarten Counting Game
- Replies: 119
- Views: 37243
- Thu Jul 25, 2013 9:06 pm
- Forum: Volume 104 (10400-10499)
- Topic: 10424 - Love Calculator
- Replies: 137
- Views: 59843
Re: 10424 - Love Calculator
here is my code...i can''t why i am getting WA pls anyone help me..
#include<stdio.h>
#include<ctype.h>
#include<string.h>
float love_calculator (char str[]);
int main()
{
char str1[35], str2[35];
int count, num = 1;
float p1, p2, res;
while(num < 100000)
{
gets(str1);
gets(str2);
p1 ...
#include<stdio.h>
#include<ctype.h>
#include<string.h>
float love_calculator (char str[]);
int main()
{
char str1[35], str2[35];
int count, num = 1;
float p1, p2, res;
while(num < 100000)
{
gets(str1);
gets(str2);
p1 ...
- Tue Jul 23, 2013 9:26 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11150 - Cola
- Replies: 43
- Views: 30363
Re: 11150 - Cola
i am having problem with input /output....nd i can't understand what they actually want me to do...anyone help me please
- Tue Jul 23, 2013 2:35 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11185 - Ternary
- Replies: 34
- Views: 20237
Re: 11185 - Ternary
any one please give some critical test case so i can test my code.....i am having a wrong answer.. 

- Tue Jul 23, 2013 10:14 am
- Forum: Volume 106 (10600-10699)
- Topic: 10696 - f91
- Replies: 21
- Views: 14700
Re: 10696 - f91
i didn't get that how caluculate the f91 for N<= 100......anyone help please..
- Tue Jul 23, 2013 3:25 am
- Forum: Volume 100 (10000-10099)
- Topic: 10038 - Jolly Jumpers
- Replies: 445
- Views: 152649
Re: 10038 - Jolly Jumpers
i am having wrong answer.....but i'm not understanding the problem....help me please 
