[quote="brianfry713"][/quote]
NICE TO MEET YOU AGAIN
I really got trouble with 11341
i try every in put i could found here and got same
then i also try 1e-9
but i still keep getting WA
i really don't know why
plz help
3ks
here is my code
#include<stdio.h>
#include<stdlib.h>
#define max(a,b) a>b ...
Search found 4 matches
- Sat Feb 02, 2013 8:36 am
- Forum: Volume 113 (11300-11399)
- Topic: 11341 - Term Strategy
- Replies: 20
- Views: 11590
- Mon Jan 28, 2013 10:12 am
- Forum: Volume 5 (500-599)
- Topic: 562 - Dividing coins
- Replies: 73
- Views: 44381
Re: 562 - Dividing Coins
I try your input and got right
but still get wa on oj
i don't know why==
plz help me
3ks
here is my codes:
#include<stdlib.h>
#include<stdio.h>
int min(int a,int b) {if(a>b)return b;return a;}
int abs(int a) {if(a>0)return a;return -a;}
int f(int sum,int a) {return abs(sum-a-a);}
int fmin(int a ...
but still get wa on oj
i don't know why==
plz help me
3ks
here is my codes:
#include<stdlib.h>
#include<stdio.h>
int min(int a,int b) {if(a>b)return b;return a;}
int abs(int a) {if(a>0)return a;return -a;}
int f(int sum,int a) {return abs(sum-a-a);}
int fmin(int a ...
- Sat Jan 12, 2013 4:37 am
- Forum: Volume 101 (10100-10199)
- Topic: 10196 - Check The Check
- Replies: 77
- Views: 36090
Re: 10196 - Check The Check
Maybe there is an input like: k......K
........
pppppppp
pppppppp
pppppppp
pppppppp
pppppppp
pppppppp
........
........
........
........
........
........
........
........
!!!great help!!!
got ac finally
printf("thank you ")
for(i=1;;i++)printf("very ");
printf("much!!!");
........
pppppppp
pppppppp
pppppppp
pppppppp
pppppppp
pppppppp
........
........
........
........
........
........
........
........
!!!great help!!!
got ac finally
printf("thank you ")
for(i=1;;i++)printf("very ");
printf("much!!!");
- Wed Jan 09, 2013 1:49 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10196 - Check The Check
- Replies: 77
- Views: 36090
Re: 10196 - Check The Check
i don't why my code got runtime errorbrianfry713 wrote:Doesn't match the sample I/O.kier.guevara wrote:Tried another solution but still wrong.
What is wrong with this?
plz help 3ks;
got AC with help from brianfry713