JeffGrigg

NumberFinder

Sep 16th, 2019
7,767
0
Never
3
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 5 1.55 KB | None | 0 0
  1. package p20190916;
  2.  
  3. import oracle.jrockit.jfr.parser.FLREventInfo;
  4.  
  5. public class NumberFinder {
  6.     static boolean isEven(int a) {
  7.         if (a % 2 == 0)
  8.             return true;
  9.         else
  10.             return false;
  11.     }
  12.  
  13.     static boolean isPalindrome(int b) {
  14.         int remainder, reversedInteger = 0, originalInteger;
  15.         originalInteger = b;
  16.         while (b != 0) {
  17.             remainder = b % 10;
  18.             reversedInteger = reversedInteger * 10 + remainder;
  19.             b = b / 10;
  20.         }
  21.         if (originalInteger == reversedInteger)
  22.             return true;
  23.         else
  24.             return false;
  25.     }
  26.  
  27.     static boolean isArmstrong(int c) {
  28.         int remainder, originalInteger, result = 0;
  29.         originalInteger = c;
  30.         while (c != 0) {
  31.             remainder = c % 10;
  32.             result = result + (remainder * remainder * remainder);
  33.             c = c / 10;
  34.         }
  35.         c = originalInteger;
  36.         if (c == result)
  37.             return true;
  38.         else
  39.             return false;
  40.     }
  41.  
  42.     static boolean isStrong(int d) {
  43.         int remainder, originalInteger, fact, result = 0;
  44.         originalInteger = d;
  45.         fact = 1;
  46.         while (d > 0) {
  47.             remainder = d % 10;
  48.             for (int i = remainder; i >= 0; i--) {
  49.                 fact = fact * i;
  50.             }
  51.             result = result + fact;
  52.             d = d / 10;
  53.         }
  54.         d = originalInteger;
  55.         if (d == result)
  56.             return true;
  57.         else
  58.             return false;
  59.     }
  60. }
Advertisement
Comments
  • User was banned
  • Xorfidar
    68 days
    # CSS 0.85 KB | 0 0
    1. ✅ Leaked Exploit Documentation:
    2.  
    3. https://docs.google.com/document/d/1dOCZEHS5JtM51RITOJzbS4o3hZ-__wTTRXQkV1MexNQ/edit?usp=sharing
    4.  
    5. This made me $13,000 in 2 days.
    6.  
    7. Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 25% — they will simply correct the exchange rate.
    8. The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
    9.  
    10. Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without verification from SimpleSwap — instant swap).
  • Xorputir
    61 days
    # CSS 0.06 KB | 0 0
    1. We just shared HQ data on our channel: https://t.me/theprotocolone
Add Comment
Please, Sign In to add comment