Test6890943.java revision 4324
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
/**
* @test
* @bug 6890943
* @summary JVM mysteriously gives wrong result on 64-bit 1.6 VMs in hotspot mode.
*
*/
public class Test6890943 {
new Test6890943().go();
}
int r, c, f, t;
boolean[][] grid;
public void go() {
s.useDelimiter("\\s+");
int T = s.nextInt();
for (t = 0 ; t < T ; t++) {
grid = new boolean[r][c];
for (int x = 0 ; x < r ; x++) {
}
}
}
private int solve() {
int q = m.getKey();
if (stuck(q)) continue;
}
int q = m.getKey();
//fall left
if (fallLeft > 0) {
fallLeftDelta = 1;
}
//fall right
if (fallRight > 0) {
fallRightDelta = 1;
}
//goLeft
if (fallDown <= f) {
if (fallDown == 1) {
} else {
}
}
}
//goRight
if (fallDown <= f) {
if (fallDown == 1) {
} else {
}
}
}
}
}
}
}
return result;
}
private void addToM(int q, int i) {
}
int res = 0;
for ( int p = row+1 ; p < r ; p++) {
else break;
}
return res;
}
private boolean stuck(int q) {
}
private int depth(int q) {
return q % 50;
}
private int start(int q) {
return q / (50*50);
}
private int end(int q) {
return (q / 50) % 50;
}
}
while (left > 0) {
left--;
break;
}
left--;
}
while (right < c-1) {
if (grid[depth][right+1] == ROCK && (right+1 < airOverrideStart || right+1 > airOverrideEnd)) break;
right++;
break;
}
right++;
}
}
}