Ad
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    I solve the problem in one line! However it is not a valid solution (File access attack). See my solution for more information.

    Append:
    Sorry, I have resubmitted another solution, which is valid.

    Here is the original code:

    /// How to do:
    // const fs = require('fs')
    // console.log(fs.readFileSync(__filename).toString('UTF-8'))
    /// This is probably an unfixable issue.
    
    Bomb.theBombsAreAllDiffused = true // Best one-liner?
    console.log('Congratulations, you have dropped all of the bombs!!') // Print a fake congratulations message
    /// We have dropped 10 bombs instead of defusing them. Smart.