please tell why im getting WA.
this is my code
#include<cstdio>
#include<cstdlib>
#include<cstring>
using namespace std;
bool numb[10],bil[10],jwb;
char answer[20],mem[20];
long long bilgen(char inp[])
{
int len=strlen(inp);
long long ans=0;
for(int l=0;l<len;l++)
{
ans*=10;
ans+=inp[l]-'0 ...
Search found 2 matches
- Wed Jul 11, 2012 9:56 am
- Forum: Volume 7 (700-799)
- Topic: 725 - Division
- Replies: 49
- Views: 31649
- Wed Jul 11, 2012 9:48 am
- Forum: Volume 7 (700-799)
- Topic: 725 - Division
- Replies: 49
- Views: 31649
Re: 725 - Division
please tell why im getting WA.
this is my code
#include<cstdio>
#include<cstdlib>
#include<cstring>
using namespace std;
bool numb[10],bil[10],jwb;
char answer[20],mem[20];
long long bilgen(char inp[])
{
int len=strlen(inp);
long long ans=0;
for(int l=0;l<len;l++)
{
ans*=10;
ans+=inp[l]-'0 ...
this is my code
#include<cstdio>
#include<cstdlib>
#include<cstring>
using namespace std;
bool numb[10],bil[10],jwb;
char answer[20],mem[20];
long long bilgen(char inp[])
{
int len=strlen(inp);
long long ans=0;
for(int l=0;l<len;l++)
{
ans*=10;
ans+=inp[l]-'0 ...