Search found 2 matches

by akayg
Wed Jan 25, 2006 2:09 am
Forum: Volume 4 (400-499)
Topic: 444 - Encoder and Decoder
Replies: 155
Views: 44665

that's my mistake.

i edit my code.

but, No aceepted.
by akayg
Tue Jan 24, 2006 2:00 pm
Forum: Volume 4 (400-499)
Topic: 444 - Encoder and Decoder
Replies: 155
Views: 44665

444 WA

444
i think my code is correct.
i tested it many cases that i saw in this forum.
but, i got WA.
#include <stdio.h>
#include <string.h>
#include <stdlib.h>

int main()
{
char buf[880];
char tmp[2];
char tmp2[3];
int num;
int i;
while (fgets(buf, sizeof(buf), stdin))
{
buf[strlen(buf)-1 ...

Go to advanced search