Search found 4 matches

by fishbao
Sun Aug 01, 2004 2:05 am
Forum: Volume 7 (700-799)
Topic: 725 - Division
Replies: 49
Views: 20060

Please HELP ME!!!!!!!!!!!!!!!!!!!!!
by fishbao
Fri Jul 30, 2004 4:25 am
Forum: Volume 7 (700-799)
Topic: 725 - Division
Replies: 49
Views: 20060

725-WA???????? Please Help

I think the problem is that finding two words which have 5 digits each, and these ten digits must 0~9, and the div must be N. Here is my code ,I don't know why it gives me WA! Please HELP ME!!!!!!!!!!!!!!!!! :lol: [cpp]#include <iostream.h> class Acm725 { private: long c; public: int cb (long c,long...
by fishbao
Thu Jul 08, 2004 5:36 am
Forum: Volume 2 (200-299)
Topic: 259 - Software Allocation
Replies: 28
Views: 10723

problem 259-WA

It seems all right.But it is judged WA. I NEED YOUR HELP! :o :o :o [cpp] #include <string.h> #include <stdio.h> char computer[10]; int oneline(char *s) { char app_name; int app_num,i,n,j; app_name=s[0]; app_num=s[1]-'0'; for (i=3,n=0;n<app_num;i++) { if(s !='\0') { if(!computer[s -'0']) { computer[s...
by fishbao
Mon Jul 05, 2004 6:21 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 40455

I always got WA for 101,I don't know why

I have tried many times,but it always tells me WA.Could you give me some complex test data? [cpp] #include <iostream> #include <string.h> using namespace std; class Blocks { private: int block[25][25]; int top[25]; int n; public: Blocks(int N); void mot(int x1,int x2,int y1,int y2);//move onto void ...

Go to advanced search