Search found 7 matches

by Snakib
Fri Jun 21, 2013 10:17 pm
Forum: Volume 101 (10100-10199)
Topic: 10189 - Minesweeper
Replies: 418
Views: 68225

Re: 10189 - Minesweeper

finally AC , thanks brian. :D
by Snakib
Wed Jun 12, 2013 1:17 pm
Forum: Volume 101 (10100-10199)
Topic: 10189 - Minesweeper
Replies: 418
Views: 68225

Re: 10189 - Minesweeper

cursor shows like this

Code: Select all

4 4
*...
....
.*..
....
Field #1:
*100
2210
1*10
1110
3 5
**...
.....
.*...

Field #2:
**100
33200
1*100
1 3
*.*

Field #3:
*1*
0 0

Process returned 0 (0x0)   execution time : 8.471 s
Press any key to continue.
by Snakib
Tue Jun 11, 2013 11:04 pm
Forum: Volume 104 (10400-10499)
Topic: 10465 - Homer Simpson
Replies: 75
Views: 22856

Re: 10465 - Homer Simpson

what is submission error
it's making me mad :evil:
by Snakib
Tue Jun 11, 2013 11:01 pm
Forum: Volume 101 (10100-10199)
Topic: 10189 - Minesweeper
Replies: 418
Views: 68225

Re: 10189 - Minesweeper

otput

Code: Select all

Field #1:
*2*
by Snakib
Fri May 31, 2013 4:26 pm
Forum: Volume 101 (10100-10199)
Topic: 10189 - Minesweeper
Replies: 418
Views: 68225

Re: 10189 - Minesweeper

What is the wrong with the code . can anybody tell me. it giving the right answer as far as i know #define i64 long long #include<cstdio> #include<iostream> #include<cmath> #include<cstring> #include<algorithm> #include<vector> #include<string> #include<cstdlib> using namespace std; int main() { int...
by Snakib
Mon May 31, 2010 12:52 pm
Forum: Volume 5 (500-599)
Topic: 530 - Binomial Showdown
Replies: 137
Views: 33602

Re: 530 woes

[code#include<stdio.h> double a(int b) { int c,e=1; for(c=1;c<=b;c++) { e=e*c; } return e; } int main() { int b,n,r,j=0,d,ans[23]; double e[3]; while(n!=0,r!=0) { scanf("%d%d",&n,&r); if(n==0 && r==0) break;a e[0]=a(n); e[1]=a(r); e[2]=a(n-r); ans[j]=e[0]/(e[1]*e[2]); j++; } for(d=0;d<j;d++) printf(...
by Snakib
Mon May 31, 2010 6:28 am
Forum: Volume 5 (500-599)
Topic: 530 - Binomial Showdown
Replies: 137
Views: 33602

Re: 530 woes

can anyone help me please i am facing time limit error #include<stdio.h> double a(int b) { int c,e=1; for(c=1;c<=b;c++) { e=e*c; } return e; } int main() { int b,n,r,j=0,d,ans[23]; double e[3]; while(n!=0,r!=0) { scanf("%d%d",&n,&r); if(n==0 && r==0) break;a e[0]=a(n); e[1]=a(r); e[2]=a(n-r); ans[j]...

Go to advanced search