Here is the status of my code now. With all the corrections suggested. But still get WA.
[c]#include <stdio.h>
#include <math.h>
#define MAX 100
int main()
{
double a[MAX][MAX],b[MAX][MAX],c[MAX][MAX];
double d,m;
int i,j,k,p,n=0;
while(scanf("%d",&n))
{
if(n==0) return(1);
p=1;
for(i=0;i ...
Search found 6 matches
- Wed Mar 24, 2004 2:50 pm
- Forum: Volume 105 (10500-10599)
- Topic: 10524 - Matrix Reloaded
- Replies: 41
- Views: 7696
- Tue Mar 16, 2004 10:01 pm
- Forum: Volume 105 (10500-10599)
- Topic: 10524 - Matrix Reloaded
- Replies: 41
- Views: 7696
- Tue Mar 16, 2004 12:10 pm
- Forum: Volume 105 (10500-10599)
- Topic: 10524 - Matrix Reloaded
- Replies: 41
- Views: 7696
- Tue Mar 16, 2004 2:06 am
- Forum: Volume 105 (10500-10599)
- Topic: 10524 - Matrix Reloaded
- Replies: 41
- Views: 7696
- Thu Mar 11, 2004 9:37 pm
- Forum: Volume 105 (10500-10599)
- Topic: 10524 - Matrix Reloaded
- Replies: 41
- Views: 7696
- Thu Mar 11, 2004 6:31 pm
- Forum: Volume 105 (10500-10599)
- Topic: 10524 - Matrix Reloaded
- Replies: 41
- Views: 7696
10524 -Matriz Reloaded WA :(
I've tried my code with all test inputs and outputs found in this board, but i still get WA.
What happens to this code? How can I get AC?
[c]#include <stdio.h>
# define MAX 100
int main()
{
float a[MAX][MAX],b[MAX][MAX],c[MAX][MAX];
float d,m;
int i,j,k,p,n=0;
while(scanf("%d",&n))
{
if(n ...
What happens to this code? How can I get AC?
[c]#include <stdio.h>
# define MAX 100
int main()
{
float a[MAX][MAX],b[MAX][MAX],c[MAX][MAX];
float d,m;
int i,j,k,p,n=0;
while(scanf("%d",&n))
{
if(n ...