Checked All the test cases. Please help me to find the bug.
#include <stdio.h>
int main()
{
int t;
char isNotFirst=0;
for(scanf("%d",&t);t;t--)
{
char grid[14][14]={0};
int dim;
int i, j;
char game[14][14]={0};
if(isNotFirst) printf("\n");
isNotFirst++;
scanf("%d",&dim);
for(i=1;i ...
Search found 2 matches
- Sat Nov 15, 2008 5:18 pm
- Forum: Volume 102 (10200-10299)
- Topic: 10279 - Mine Sweeper
- Replies: 102
- Views: 43212
- Wed Nov 05, 2008 5:43 pm
- Forum: Volume 114 (11400-11499)
- Topic: 11455 - Behold my quadrangle
- Replies: 21
- Views: 24992
Re: 11455 - Behold My Quadrangle
It is possible to make an quadrangle when sum of its 3 side is equal to other side.
And Beware of the fact that the lengths are not in sorted order!
And Beware of the fact that the lengths are not in sorted order!