Search found 1 match

by ahmed mohamed said
Mon Apr 22, 2013 1:32 am
Forum: Volume 113 (11300-11399)
Topic: 11349 - Symmetric Matrix
Replies: 43
Views: 27361

11349 - Symmetric Matrix why WA

#include <iostream>
using namespace std;
int main()
{
bool x = true;
int testcases;
cin>>testcases;
for(int t=1 ; t<=testcases; t++)
{
char Nu , eq ;
int N ;
cin>>Nu; cin>>eq ;cin>>N;
long** matrix = new long*[N];
for(int k = 0 ; k<N; k++)
matrix[k] = new long[N];
for(int i=0 ; i<N ; i ...

Go to advanced search