• Lucid Dreaming - Dream Views




    Page 37 of 37 FirstFirst ... 27 35 36 37
    Results 901 to 913 of 913
    1. #901
      Stay lucid Achievements:
      Made lots of Friends on DV Populated Wall Created Dream Journal Tagger Second Class Veteran First Class Referrer Bronze Made Friends on DV 5000 Hall Points
      Saizaphod's Avatar
      Join Date
      Feb 2013
      LD Count
      527+
      Gender
      Posts
      1,167
      Likes
      1410
      DJ Entries
      26
      . i make myself as tiny as possible and eat my food. after some time i ask him if he would like me to go around the corner with my plate so he could have even more space. he declines and i make a joke like "hey but you need more space every minute, i cant see my food anymore because your arm is around it..." ~ from this journal entry

    2. #902
      Banned Achievements:
      Created Dream Journal Made lots of Friends on DV Populated Wall 3 years registered

      Join Date
      Feb 2013
      LD Count
      149 in 2016
      Gender
      Location
      Bleep
      Posts
      1,171
      Likes
      999
      DJ Entries
      48
      Kappa

    3. #903
      ex-Lucario Achievements:
      Made Friends on DV Tagger First Class 1000 Hall Points Vivid Dream Journal Veteran First Class
      <span class='glow_0000FF'>Cobalt Storm</span>'s Avatar
      Join Date
      Dec 2013
      LD Count
      1412+
      Gender
      Location
      Equestria
      Posts
      406
      Likes
      281
      DJ Entries
      101
      I'm squeeing internally.
      powder

    4. #904
      Hetrochromic Oneironaut Achievements:
      Referrer Bronze Made lots of Friends on DV Huge Dream Journal Populated Wall Tagger First Class 10000 Hall Points Veteran First Class
      JadeGreen's Avatar
      Join Date
      Mar 2012
      LD Count
      Not a contest
      Gender
      Location
      Here and Now
      Posts
      963
      Likes
      2643
      DJ Entries
      720

    5. #905
      Member Achievements:
      Tagger First Class Vivid Dream Journal Made lots of Friends on DV Referrer Silver 5000 Hall Points Veteran First Class
      whitedreams's Avatar
      Join Date
      May 2010
      Gender
      Posts
      136
      Likes
      60
      DJ Entries
      334
      Using the grand ol' internet translator:

      What the fuck fuck you just said to me, you little bitch? I'll let you know I graduated top of my class SEALs, I have many secrets involved in al-Qaeda attacks, and I have over 300 confirmed killed. I trained gorilla warfare, snipers me up throughout the United States Army. You are nothing to me, but only one goal. I'll fucking destroy you prefer a precision never seen on this earth, mark my words fuck. You think you can get away I say dog feces on the Internet? Think again, fool. As we speak, I contacted my secret across the US spy network and IP are now allowing you to track as storms, maggots better prepared. This wipe your phone
      If you put energy into worrying about things that you can't control then you won't have energy for things that you can

    6. #906
      Unimpressed Achievements:
      Created Dream Journal Made Friends on DV 3 years registered 1000 Hall Points
      Zoob's Avatar
      Join Date
      Oct 2016
      Location
      South side of the sky
      Posts
      36
      Likes
      31
      DJ Entries
      1
      Kritische Geschichte der Meinungen von dem Geschlechte der Bienen

    7. #907
      ex-Lucario Achievements:
      Made Friends on DV Tagger First Class 1000 Hall Points Vivid Dream Journal Veteran First Class
      <span class='glow_0000FF'>Cobalt Storm</span>'s Avatar
      Join Date
      Dec 2013
      LD Count
      1412+
      Gender
      Location
      Equestria
      Posts
      406
      Likes
      281
      DJ Entries
      101
      powder

    8. #908
      Member Achievements:
      1 year registered Created Dream Journal

      Join Date
      May 2015
      LD Count
      20+
      Gender
      Posts
      44
      Likes
      18
      DJ Entries
      3
      "Are you going to see the solar eclipse tomorrow? Tell me where and how!"
      I'm about to collide with the world.

    9. #909
      no sanity Achievements:
      Tagger First Class Veteran First Class 5000 Hall Points Vivid Dream Journal
      Eveningsky's Avatar
      Join Date
      Sep 2012
      LD Count
      26
      Gender
      Posts
      46
      Likes
      58
      DJ Entries
      101
      A snippet from a very annoying coding challenge on HackerRank that took me way longer than it should have. Now with terrible variable names. The indentation didn't carry over for some reason.

      import java.io.*;
      import java.util.*;

      public class Solution
      {
      private static boolean canBreak(String loginAttempt, ArrayList<String> sol, ArrayList<String> passwords)
      {
      int len = loginAttempt.length();
      if (len == 0)
      {
      return true;
      }
      ArrayList<Boolean> dpTable = new ArrayList<>();
      for (int i = 0; i < len + 1; i++)
      {
      dpTable.add(false);
      }
      for (int i = 1; i <= len; i++)
      {
      if (dpTable.get(i) == false && passwords.contains(loginAttempt.substring(0, i)))
      {
      dpTable.set(i, true);
      //sol.add(loginAttempt.substring(0, i));
      }
      if (dpTable.get(i) == true)
      {
      if (i == len)
      {
      //sol.add(loginAttempt.substring(0, i));
      return true;
      }
      for (int j = i + 1; j <= len; j++) // i instead of i + 1?
      {
      //System.out.println("i is " + i); // 2
      //System.out.println("j is " + j); // 3
      if (dpTable.get(j) == false && passwords.contains(loginAttempt.substring(i, j))) //instead of j-i
      {
      dpTable.set(j, true);
      //sol.add(loginAttempt.substring(i, j));
      }
      if (j == len && dpTable.get(j) == true)
      {
      //sol.add(loginAttempt.substring(i, j));
      return true;
      }
      }
      }
      }
      return false;
      }
      private static ArrayList<String> getWords(ArrayList<String> sol, String loginAttempt, ArrayList<String> pass,
      int len, String result)
      {
      if (sol.contains("CRAPAMOLE"))
      {
      return sol;
      }
      //System.out.println("getWords(" + loginAttempt + ")");
      //int len = loginAttempt.length();
      for (int i = 1; i <= len; i++)
      {
      String prefix = loginAttempt.substring(0, i);
      if (pass.contains(prefix))
      {
      if (i == len)
      {
      sol.add(result + prefix);
      sol.add("CRAPAMOLE");
      return sol;
      }
      getWords(sol, loginAttempt.substring(i, len), pass, len - i, result + prefix + " ");
      //sol.add(prefix);
      }
      }
      return sol;
      }
      public static void main(String[] args)
      {
      Scanner pasta = new Scanner(System.in);
      int numTestCases = pasta.nextInt();
      for (int i = 0; i < numTestCases; i++)
      {
      int numUsersWithPasswords = pasta.nextInt();
      ArrayList<String> existingPasswords = new ArrayList<>();
      for (int j = 0; j < numUsersWithPasswords; j++)
      {
      existingPasswords.add(pasta.next());
      }
      String loginAttempt = pasta.next();
      ArrayList<String> sol = new ArrayList<>();
      if (canBreak(loginAttempt, sol, existingPasswords))
      {
      sol = getWords(sol, loginAttempt, existingPasswords, loginAttempt.length(), "");
      for (int j = 0; j < sol.size(); j++)
      {
      if (sol.get(j).equals("CRAPAMOLE"))
      {
      System.out.println();
      break;
      }
      if (j == sol.size() - 1)
      {
      System.out.println(sol.get(j));
      }
      else
      {
      System.out.print(sol.get(j) + " ");
      }
      }
      }
      else
      {
      System.out.println("WRONG PASSWORD");
      }
      }
      }
      }
      Last edited by Eveningsky; 08-21-2017 at 05:57 AM.

    10. #910
      Hetrochromic Oneironaut Achievements:
      Referrer Bronze Made lots of Friends on DV Huge Dream Journal Populated Wall Tagger First Class 10000 Hall Points Veteran First Class
      JadeGreen's Avatar
      Join Date
      Mar 2012
      LD Count
      Not a contest
      Gender
      Location
      Here and Now
      Posts
      963
      Likes
      2643
      DJ Entries
      720

    11. #911
      The Observer Achievements:
      Referrer Bronze Created Dream Journal Veteran First Class Tagger First Class 5000 Hall Points
      LifeStandsStill's Avatar
      Join Date
      Jan 2008
      Gender
      Location
      Jacksonville, Florida
      Posts
      469
      Likes
      43
      DJ Entries
      12
      They say life's about choices;
      In the face of defeat, I decline.
      http://www.dreamviews.com/signaturepics/sigpic16883_11.gif

    12. #912
      Death Wraith Achievements:
      Made lots of Friends on DV Tagger First Class Referrer Bronze Vivid Dream Journal 3 years registered 1000 Hall Points
      Durza's Avatar
      Join Date
      Apr 2018
      LD Count
      26
      Gender
      Location
      Hades
      Posts
      168
      Likes
      266
      DJ Entries
      94
      Deild

    13. #913
      Intrepid Explorer Achievements:
      Created Dream Journal Tagger First Class Made lots of Friends on DV 1000 Hall Points 3 years registered
      naturespirit's Avatar
      Join Date
      Oct 2016
      LD Count
      ~312
      Gender
      Posts
      255
      Likes
      284
      DJ Entries
      88
      Deep in the human unconscious is a pervasive need for a logical universe that makes sense. But the real universe is always one step beyond logic.

    Page 37 of 37 FirstFirst ... 27 35 36 37

    Bookmarks

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •