|
|
back to boardCan anybody give some test to judge my prog? I have WA on 5 test and cann't find my mistake. Ohhh! So stupid mistake)) Ohhh! So stupid mistake)) what? I also have WA5(( What is your algo? I use dfs and add edge between two pieces. I should use int64....... Edited by author 05.04.2009 07:22 When do you add edge between two pieces? This is a "boundary values" test. Consider a case when you have initially a full graph of ones - you have ~100^2 = 10^4 flights, and d=10^6. How much have you pay then to optimize the flights scheme? FT~~~~ I didn't know that long long is not supported. OH!!!!FT.. Realy, It's the problem ~ I didn't know that long long is not supported ,either ~ maybe the judge should update its compiler? Oh,I See.So we can only use "%I64d" to input/output?for I got WA while using "%lld" but AC with "%I64d" I know abbreviations AC, WA, TLE, DFS, BFS, DP... But what does FT stand for??? |
|
|