Can I pm you my accepted code, to see where my algorithm is wrong ?brianfry713 wrote:My output is correct, yours is wrong. Wrong code can still be AC, it just means it's correct for the judge's input.
In the second I/O, D->Z->I, yours prints G.
Search found 148 matches
- Mon Aug 31, 2015 8:35 pm
- Forum: Volume 128 (12800-12899)
- Topic: 12897 - Decoding Baby Boos
- Replies: 4
- Views: 8082
Re: 12897 - Decoding Baby Boos
- Fri Aug 28, 2015 7:39 am
- Forum: Volume 128 (12800-12899)
- Topic: 12897 - Decoding Baby Boos
- Replies: 4
- Views: 8082
Re: 12897 - Decoding Baby Boos
Input: 6 OXOGKDUIAXYHBFUIW_SNTAYPSFUCTIIGUWMT 16 A S H B K G Y Z S R Z S F P B K Q E U D G R H C X F T T U Q I W SZNCHLXMPRJKCFODZBOUSLXDBLALZHLFGNINYEOBVXMYSPQQQTZHDK_FW_FJGQPBDXDQQSSAODYVH 29 G I Y Z C V O M S C Z D W K Q I N M S V A P K F Y K O D B I R S R J E R F W A U X X I Z I V H A W X M C H...
- Fri Jul 17, 2015 5:22 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10977 - Enchanted Forest
- Replies: 42
- Views: 22503
Re: 10977 - Enchanted Forest
I have checked the output for the input given by brianfry713, outsbook and tan_Yui on uDebug.com . but I have noticed some differences for some cases between their output and output produced by uDebug.com . So, which one should I consider as correct and which one is wrong? or both are correct ??
- Fri Jun 12, 2015 5:01 pm
- Forum: Volume 108 (10800-10899)
- Topic: 10815 - Andy's First Dictionary
- Replies: 116
- Views: 44650
Re: 10815 - Andy's First Dictionary
what will be the maximum size of a distinct word?
- Mon May 18, 2015 7:56 pm
- Forum: Volume 116 (11600-11699)
- Topic: 11683 - Laser Sculpture
- Replies: 6
- Views: 6642
Re: 11683 - Laser Sculpture
Getting Runtime Error for following code, what's the reason for RTE? #include <iostream> #include <string.h> #include <cstdio> #include <stdio.h> #include <cstring> using namespace std; int struc[10002][10002]; int main() { int H, L, h, i, j, cnt; while(scanf("%d %d",&H, &L)!=EOF) ...
- Sat May 16, 2015 4:24 am
- Forum: Volume 106 (10600-10699)
- Topic: 10653 - Bombs! NO they are Mines!!
- Replies: 36
- Views: 22618
Re: 10653 - Bombs! NO they are Mines!!
My code can't run for the given sample input. May be there is problem in recursion. But I can't figure it out. Here is my code: [also can see at http://pastebin.com/SvTbMRYZ ] #include <string.h> #include <stdio.h> #define MIN(a, b) (a<b ? a:b) int grid[1002][1002], dp[1002][1002], Row, Colum, start...
- Tue May 12, 2015 1:14 pm
- Forum: Volume 9 (900-999)
- Topic: 927 - Integer Sequences from Addition of Terms
- Replies: 4
- Views: 8038
Re: 927 - Integer Sequences from Addition of Terms
v1n1t, can you please explain some of your given input output? I didn't understand the input and output.
for example, how the output is 1866 for the following input ?
4 3 0 0 0 23
25
100
I think the proble statement is not clear enough. It should be modified !
for example, how the output is 1866 for the following input ?
4 3 0 0 0 23
25
100
I think the proble statement is not clear enough. It should be modified !
- Mon May 11, 2015 4:28 am
- Forum: Bugs and suggestions
- Topic: Why there is no option to see and recover submitted own code
- Replies: 1
- Views: 4286
Why there is no option to see and recover submitted own code
I think there should be an option for the users so that they can see their own submitted code any time and also can recover or download the source code. But UVa didn't provide this option. But why ? I like to mention that many Online Judges like codeforces, codechef, spoj, lightoj - almost every OJ ...
- Sun May 03, 2015 6:35 am
- Forum: Volume 101 (10100-10199)
- Topic: 10190 - Divide, But Not Quite Conquer!
- Replies: 105
- Views: 34630
Re: 10190 - Divide, But Not Quite Conquer!
I am getting WA. I have tested all the cases shared on this forum, all are ok. Can anyone give some more input-output for this problem? Whats wrong in my code? Here is my code: #include <iostream> #include <math.h> #include <stdio.h> int main() { int n, m, i=1, d, p1, pwr; double p, pw; while(scanf(...
- Tue Mar 10, 2015 9:08 am
- Forum: Volume 1 (100-199)
- Topic: 120 - Stacks of Flapjacks
- Replies: 118
- Views: 26840
Re: 120 - Stacks of Flapjacks
I didn't understand why for the sample input 5 1 2 3 4 output is 5 1 2 3 4 1 2 0 My thinking is: Given: 5 1 2 3 4 After flip(1): 4 1 2 3 5 After flip(2): 3 1 2 4 5 So, finally sorted list is 3 1 2 4 5 . Isn't it ? If so, how the output can be correct ? Shouldn't the sorted list be 1 2 3 4 5 ? Can an...
- Wed Jan 21, 2015 6:41 am
- Forum: Volume 121 (12100-12199)
- Topic: 12148 - Electricity
- Replies: 7
- Views: 11169
Re: 12148 - Electricity
Thank you, now I got it. ![:D](./images/smilies/icon_biggrin.gif)
![:D](./images/smilies/icon_biggrin.gif)
- Tue Jan 20, 2015 6:01 pm
- Forum: Volume 119 (11900-11999)
- Topic: 11956 - Brainfuck
- Replies: 9
- Views: 4564
Re: 11956 - Brainfuck
Thanks brianfry713, got AC !
- Sun Jan 18, 2015 2:33 pm
- Forum: Volume 119 (11900-11999)
- Topic: 11956 - Brainfuck
- Replies: 9
- Views: 4564
Re: 11956 - Brainfuck
Accepted!
- Sat Jan 17, 2015 9:44 pm
- Forum: Volume 121 (12100-12199)
- Topic: 12148 - Electricity
- Replies: 7
- Views: 11169
Re: 12148 - Electricity
I didn't understand this:
And how the sample output is come from the sample input ? Please, explain it also...
Can anybody, please explain it clearly?the number of days for which a consumption can be precisely determined
And how the sample output is come from the sample input ? Please, explain it also...
- Thu Jan 15, 2015 7:04 am
- Forum: Volume 4 (400-499)
- Topic: 453 - Intersecting Circles
- Replies: 84
- Views: 25637
Re: 453 - Intersecting Circles
#define EPS1 1e-6 #define EPS2 5e-5 printf("(%.3lf,%.3lf)", X2 + EPS2, Y2 + EPS2); Everywhere else use EPS1 On most problems a small EPS like 1e-8 works, but this problem is tricky http://floating-point-gui.de/ Even getting WA! Here is my changed code: #include <stdio.h> #include <math.h>...