Search found 1 match

by Catherine Fang
Mon Sep 08, 2014 2:57 am
Forum: Volume 6 (600-699)
Topic: 623 - 500!
Replies: 187
Views: 72093

Re: 623 - 500! WA.Help!

Why WA...?
I have passed the given data..
Thanks.


#include <cstring>
#include <stdio.h>
#include <string>
using namespace std;

const int maxn = 3000;
int f[3000];
string s[1010];
int len;

void save(int index)
{
for(int i=len;i>=0;i--)
{
s[index] += char(f[i]+'0');

}

}
int main()
{
int ...

Go to advanced search