Search found 1 match

by Animesh_nayan
Thu Apr 13, 2006 7:52 am
Forum: Volume 1 (100-199)
Topic: 108 - Maximum Sum
Replies: 233
Views: 51862

108 help

I hve the following code which gives correct output,,for all possible test cases,,but time limit is exceeded ..Can neone help me out...

#include<iostream>
using namespace std;


int main()
{
int a[100][100];

int i,j,s,max=-150,m,n,k,l;
cin>>n;

for(i=0;i<n;i++)
{
for(j=0;j<n;j++)
cin>>a ...

Go to advanced search