Search found 1 match

by steve4760
Tue May 11, 2004 3:19 pm
Forum: Volume 6 (600-699)
Topic: 619 - Numerically Speaking
Replies: 10
Views: 4797

619---Wrong Answer

/* This is my code,I got WA many times.Please help me!!! */ #include<stdio.h> #include<string.h> #include<ctype.h> int diff(long matrix1[11],long matrix2[11]) { long i,j; i=10; while(matrix1[i]==0) i--; j=10; while(matrix2[j]==0) j--; if(i>j) return 0; else if(i==j) { for(;i>=0;i--) { if(matrix1[i]...

Go to advanced search