software engineer
BAN USER
Comments (5)
Reputation 10
Page:
1
Comment hidden because of low score. Click to expand.
Comment hidden because of low score. Click to expand.
1
of 1 vote
http www kelvinjiang.com/2010/10/doublets-word-puzzle-game.html
- software engineer August 20, 2011Comment hidden because of low score. Click to expand.
0
of 0 vote
please post the full solution
- software engineer August 11, 2011Comment hidden because of low score. Click to expand.
0
of 0 vote
how about min heap?
- software engineer July 16, 2011Comment hidden because of low score. Click to expand.
0
of 0 vote
#include<stdio.h>
#include<iostream>
using namespace std;
int main()
{
int i=0,j=0,k=0,sum=0;
int r=3;//row
int a[]={3,4,7,2,2,6,0,9,5,8,11};
int n=sizeof(a)/sizeof(int);
j=n/r;//column
while(k<j)
{
for(i=k;i<n;i+=j)
{
sum=sum+a[i];
}
cout<<sum<<endl;
sum=0;
k++;
}
return 0;
}
Page:
1
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.
this piece of code does not work :P
- software engineer November 06, 2011