We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
error: no suitable method found for valueOf(BigInteger)
for (BigInteger x =BigInteger.valueOf(1234567890);x.compareTo(BigInteger.ZERO) > 0;x=x.subtract(BigInteger.ONE)) {
for (BigInteger y =BigInteger.valueOf(x);y.compareTo(BigInteger.ZERO) > 0;y = y.subtract(BigInteger.ONE)) {
for (BigInteger z = BigInteger.valueOf(y); z.compareTo(BigInteger.ZERO) > 0;
z = z.subtract(BigInteger.ONE))
pls help!!!
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #142: Perfect Square Collection
You are viewing a single comment's thread. Return to all comments →
error: no suitable method found for valueOf(BigInteger)
for (BigInteger x =BigInteger.valueOf(1234567890);x.compareTo(BigInteger.ZERO) > 0;x=x.subtract(BigInteger.ONE)) { for (BigInteger y =BigInteger.valueOf(x);y.compareTo(BigInteger.ZERO) > 0;y = y.subtract(BigInteger.ONE)) { for (BigInteger z = BigInteger.valueOf(y); z.compareTo(BigInteger.ZERO) > 0; z = z.subtract(BigInteger.ONE))
pls help!!!