I have used this site to check my answers.
http://uva.xgd.dk/problemssolve.php
but still get WA again and again.
Please help me.
Thanks.
My code:
#include <stdio.h>
#include <string.h>
#define X_MAXLEN 20000
#define Z_MAXLEN 100
#define BIGNUM_OVERFLOW -1
struct bignum{
unsigned char number ...
Search found 5 matches
- Mon Jun 02, 2008 5:23 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10069 - Distinct Subsequences
- Replies: 26
- Views: 19818
- Thu Apr 24, 2008 6:31 pm
- Forum: Volume 8 (800-899)
- Topic: 850 - Crypt Kicker II
- Replies: 77
- Views: 49963
Re: 850 - Crypt Kicker II
I convered fgets to get, but still WA.
Anyway, thanks for your help.
Anyway, thanks for your help.
- Mon Apr 21, 2008 8:56 am
- Forum: Volume 8 (800-899)
- Topic: 850 - Crypt Kicker II
- Replies: 77
- Views: 49963
Re: 850 - Crypt Kicker II
I fixed this bug, but still WA.
My code:
#include <stdio.h>
#include <string.h>
#define TARGET "the quick brown fox jumps over the lazy dog"
#define TARGETLEN 43
#define MAX_CHARS 100
#define MAX_LINES 100
#define CODETABLE_SIZE 26
#define CODETABLE_BASE (int)'a'
int checkline(char *, char ...
My code:
#include <stdio.h>
#include <string.h>
#define TARGET "the quick brown fox jumps over the lazy dog"
#define TARGETLEN 43
#define MAX_CHARS 100
#define MAX_LINES 100
#define CODETABLE_SIZE 26
#define CODETABLE_BASE (int)'a'
int checkline(char *, char ...
- Sun Apr 20, 2008 6:18 pm
- Forum: Volume 8 (800-899)
- Topic: 850 - Crypt Kicker II
- Replies: 77
- Views: 49963
Re: 850 - Crypt Kicker II
My output
Could you tell me what's wrong?
Code: Select all
now is the time for all good men to come to the aid of the party
the quick brown fox jumps over the lazy dog
programming contests are fun arent they
- Sun Apr 20, 2008 5:19 pm
- Forum: Volume 8 (800-899)
- Topic: 850 - Crypt Kicker II
- Replies: 77
- Views: 49963
Re: 850 - Crypt Kicker II
Could someone please help me?
I got WA.
Thanks.
#include <stdio.h>
#include <string.h>
#define TARGET "the quick brown fox jumps over the lazy dog"
#define MAX_CHARS 100
#define MAX_LINES 100
#define CODETABLE_SIZE 26
#define CODETABLE_BASE (int)'a'
int deduces(int, char *, char *);
void ...
I got WA.
Thanks.
#include <stdio.h>
#include <string.h>
#define TARGET "the quick brown fox jumps over the lazy dog"
#define MAX_CHARS 100
#define MAX_LINES 100
#define CODETABLE_SIZE 26
#define CODETABLE_BASE (int)'a'
int deduces(int, char *, char *);
void ...