Search found 5 matches
- Thu Apr 27, 2006 12:50 pm
- Forum: Volume 4 (400-499)
- Topic: 485 - Pascal's Triangle of Death
- Replies: 50
- Views: 12928
- Wed Apr 26, 2006 7:01 pm
- Forum: Volume 4 (400-499)
- Topic: 485 - Pascal's Triangle of Death
- Replies: 50
- Views: 12928
485...WA
i got WA but i think my last line should be right. can anyone tell me what's wrong with my code? thanks.
1 204 20706 1394204 70058751 2802350040 92944609660 2629004673240 64739240078535 1409876783932540 27492597286684530 484869443056072620 7798316875818501305 115175141550550173120 ...
1 204 20706 1394204 70058751 2802350040 92944609660 2629004673240 64739240078535 1409876783932540 27492597286684530 484869443056072620 7798316875818501305 115175141550550173120 ...
- Tue Oct 25, 2005 10:33 am
- Forum: Volume 6 (600-699)
- Topic: 639 - Don't Get Rooked
- Replies: 11
- Views: 11785
639 -WA
I got WA on 639, and I have tried a lot of cases. Can anyone help me with my problem or provide me inputs?
#include<iostream>
using namespace std;
const int mmax=5;
int mapmax;
char map[mmax+1][mmax+1];
int dotmax;
void track(int y,int x,char ch){
int i;
//y->i
for(i=y-1;i>=0;i--){
if(map ...
#include<iostream>
using namespace std;
const int mmax=5;
int mapmax;
char map[mmax+1][mmax+1];
int dotmax;
void track(int y,int x,char ch){
int i;
//y->i
for(i=y-1;i>=0;i--){
if(map ...
- Wed Jun 15, 2005 8:57 pm
- Forum: Volume 4 (400-499)
- Topic: 492 - Pig-Latin
- Replies: 213
- Views: 49627
- Sun Jun 12, 2005 2:17 pm
- Forum: Volume 4 (400-499)
- Topic: 492 - Pig-Latin
- Replies: 213
- Views: 49627
492 WA
why I got WA? I had tried all the cases....
#include<iostream>
using namespace std;
const int cmax=150000;
char ch[cmax+1];
int chx;
void anaout();
bool isv(char);
int main(){
char chline[cmax+1];
int x;
while(cin.getline(chline,cmax)){
for(x=0,chx=0;;x++){
if((chline[x]>=0x41 && chline ...
#include<iostream>
using namespace std;
const int cmax=150000;
char ch[cmax+1];
int chx;
void anaout();
bool isv(char);
int main(){
char chline[cmax+1];
int x;
while(cin.getline(chline,cmax)){
for(x=0,chx=0;;x++){
if((chline[x]>=0x41 && chline ...