Question
The objective of the programming assignment is to write a parallel program to solve the n-queens problem. Your solution should follow the following outline: We use the master-worker paradigm, where processor with rank 0 will act as the master processor and the rest of the processors act as workers. Processor 0 will initiate the search by starting to fill an array of positions as described before. However, whenever a specific depth k is reached, a copy of the array will be dispatched to one of the worker processors. The worker processor will explore all the remaining possible combinations and report any solution(s) found to the master processor. As soon as the task is dispatched, the master processor will continue by exploring the next position on the same column etc. to generate another task and dispatch it.
One can view the master processor as performing a search limited to the first k positions. Each worker processor will get a task with first, k positions filled and will perform a search for the remaining n — k positions. When a worker is done with its task, it will report the outcome and request more work. The master processor will continually dispatch work until all the tasks have been send out. At this stage, it will send a message to all workers to terminate. Then the master process will wait for remaining solutions, print out all found solutions and finally terminate itself.
Complete only the methods in mpi_nqueens.cpp.
Solution Preview

These solutions may offer step-by-step problem-solving explanations or good writing examples that include modern styles of formatting and construction of bibliographies out of text citations and references.
Students may use these solutions for personal skill-building and practice.
Unethical use is strictly forbidden.

/**
* @file    nqueens.cpp
* @brief   Implements the functions for solving the nqueens problem in.
*
*/

#include "nqueens.h"
#include <cmath>

/*********************************************************************
*                  Implement your solutions here!                   *
*********************************************************************/

/**
* @brief   Generates the solutions for the n-queen problem in a specified range.
*
*
* This function will search for all valid solutions in the range
* [start_level,max_level). This assumes that the partial solution for levels
* [0,start_level) is a valid solution.
*
* The master and the workers will both use this function with different parameters.
* The master will call the function with start_level=0 and max_level=k, and the
* workers will call this function with start_level=k and max_level=n and their
* received partial solution.
*
* For every valid solution that is found, the given callback function is called
* with the current valid solution as parameter.
*
* @param pos          A vector of length n that contains the partial solution
*                      for the range [0, start_level).
* @param start_level   Gives the level at which the algorithm will start to
*                      generate solutions. The solution vector `pos` is assumed
*                      to have a valid solution for positions [0,start_level-1].
* @param max_level    The level at which the algorithm will stop and pass
*                      the current valid solution to the callback function.
* @param success_func A callback function that is called whenever a valid
*                      solution of `max_level` levels is found. The found
*                      solution is passed as parameter to this callback function.
*/

void nqueens_by_level(std::vector<unsigned int> pos, unsigned int start_level, unsigned int max_level, void(*const success_func)(std::vector<unsigned int>&)) {

int n = pos.capacity();
int k = start_level;

bool place(int k, int i){                                                      // Function that returns true or false depending on wether queen can or can't be placed at position (k,i)
for (int j = 0; j < k - 1; j++){
if ((pos[j] == i) || (abs(j - k) == abs(pos[j] - i)){ return false; }
}
return true;
}

std::vector<unsigned int> stack;
stack.push_back(0);

while (!stack.empty()){
for (int j = stack.back(); j < n; j++){
if (place(k, j)){
stack.pop_back();
pos[k] = j;
if (k == max_level){ succes_func(pos); }
else{ stack.push_back(j+1); k = k + 1; stack.push_back(0); break; }
}
}
k = k - 1; stack.pop_back();
}
}


/*********************************************************************
*       You don't have to change anything beyond this point       *
*********************************************************************/


// stores all local solutions.
struct SolutionStore {
    // store solutions in a static member variable
    static std::vector<unsigned int>& solutions() {
       static std::vector<unsigned int> sols;
       return sols;
    }
    static void add_solution(const std::vector<unsigned int>& sol) {
       // add solution to static member
       solutions().insert(solutions().end(), sol.begin(), sol.end());
    }
    static void clear_solutions() {
       solutions().clear();
    }
};

// callback for generating local solutions
void add_solution_callback(std::vector<unsigned int>& solution) {
    SolutionStore::add_solution(solution);
}

// returns all solutions to the n-Queens problem, calculated sequentially
// This function requires that the nqueens_by_level function works properly.
std::vector<unsigned int> nqueens(unsigned int n) {
    std::vector<unsigned int> zero(n, 0);
    nqueens_by_level(zero, 0, n, &add_solution_callback);
    std::vector<unsigned int> allsolutions = SolutionStore::solutions();
    SolutionStore::clear_solutions();
    return allsolutions;
}
This is only a preview of the solution.
Please use the purchase button to see the entire solution.
By purchasing this solution you'll be able to access the following files:
solution.zip
Purchase Solution
$70.00 $35
Google Pay
Amazon
Paypal
Mastercard
Visacard
Discover
Amex
View Available Computer Science Tutors 529 tutors matched
Ionut
(ionut)
Hi! MSc Applied Informatics & Computer Science Engineer. Practical experience in many CS & IT branches.Research work & homework
5/5 (5,654+ sessions)
2 hours avg response
Leo
(Leo)
Hi! I have been a professor in New York and taught in a math department and in an applied math department.
4.9/5 (5,652+ sessions)
2 hours avg response
Pranay
(math1983)
Ph.D. in mathematics and working as an Assistant Professor in University. I can provide help in mathematics, statistics and allied areas.
4.6/5 (5,512+ sessions)
1 hour avg response

Similar Homework Solutions

8.1.0PHP Version428msRequest Duration45MBMemory UsageGET college-homework-library/{category}/{subject}/{id}Route
    • Booting (283ms)time
    • Application (145ms)time
    • 1 x Booting (66.11%)
      283ms
      1 x Application (33.88%)
      145ms
      • Illuminate\Routing\Events\Routing (1.35ms)
      • Illuminate\Routing\Events\RouteMatched (545μs)
      • Illuminate\Foundation\Events\LocaleUpdated (4.52ms)
      • eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibrary (229μs)
      • eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibrary (216μs)
      • Illuminate\Database\Events\ConnectionEstablished (1.26ms)
      • Illuminate\Database\Events\StatementPrepared (10.75ms)
      • Illuminate\Database\Events\QueryExecuted (1.04ms)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (111μs)
      • eloquent.booting: App\Models\Subject (104μs)
      • eloquent.booted: App\Models\Subject (42μs)
      • Illuminate\Database\Events\StatementPrepared (2.58ms)
      • Illuminate\Database\Events\QueryExecuted (1.01ms)
      • eloquent.retrieved: App\Models\Subject (122μs)
      • eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibraryFile (139μs)
      • eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibraryFile (42μs)
      • Illuminate\Database\Events\StatementPrepared (705μs)
      • Illuminate\Database\Events\QueryExecuted (1.09ms)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (86μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (14μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (8μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (6μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (6μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (4μs)
      • eloquent.booting: App\Models\SubjectCat (358μs)
      • eloquent.booted: App\Models\SubjectCat (43μs)
      • Illuminate\Database\Events\StatementPrepared (958μs)
      • Illuminate\Database\Events\QueryExecuted (1.13ms)
      • eloquent.retrieved: App\Models\SubjectCat (208μs)
      • Illuminate\Cache\Events\CacheHit (20.87ms)
      • Illuminate\Cache\Events\CacheMissed (1.06ms)
      • Illuminate\Database\Events\StatementPrepared (2.19ms)
      • Illuminate\Database\Events\QueryExecuted (2.15ms)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (229μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (26μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (14μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (11μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (12μs)
      • Illuminate\Database\Events\StatementPrepared (845μs)
      • Illuminate\Database\Events\QueryExecuted (1.02ms)
      • eloquent.retrieved: App\Models\Subject (120μs)
      • Illuminate\Cache\Events\KeyWritten (1.04ms)
      • Illuminate\Database\Events\StatementPrepared (1.72ms)
      • Illuminate\Database\Events\QueryExecuted (944μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (52μs)
      • Illuminate\Database\Events\StatementPrepared (865μs)
      • Illuminate\Database\Events\QueryExecuted (797μs)
      • Illuminate\Database\Events\StatementPrepared (694μs)
      • Illuminate\Database\Events\QueryExecuted (861μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (49μs)
      • Illuminate\Cache\Events\CacheHit (673μs)
      • creating: homework.show (317μs)
      • composing: homework.show (125μs)
      • creating: components.breadcrumbs (347μs)
      • composing: components.breadcrumbs (185μs)
      • Illuminate\Database\Events\StatementPrepared (1.36ms)
      • Illuminate\Database\Events\QueryExecuted (1.09ms)
      • eloquent.retrieved: App\Models\SubjectCat (87μs)
      • Illuminate\Cache\Events\CacheHit (3.86ms)
      • Illuminate\Cache\Events\CacheHit (157μs)
      • Illuminate\Cache\Events\CacheHit (211μs)
      • Illuminate\Cache\Events\CacheHit (171μs)
      • Illuminate\Cache\Events\CacheHit (189μs)
      • Illuminate\Cache\Events\CacheHit (166μs)
      • Illuminate\Cache\Events\CacheHit (200μs)
      • Illuminate\Cache\Events\CacheHit (135μs)
      • Illuminate\Cache\Events\CacheHit (133μs)
      • Illuminate\Cache\Events\CacheHit (142μs)
      • Illuminate\Cache\Events\CacheHit (181μs)
      • Illuminate\Cache\Events\CacheHit (154μs)
      • Illuminate\Cache\Events\CacheHit (165μs)
      • Illuminate\Cache\Events\CacheHit (168μs)
      • Illuminate\Cache\Events\CacheHit (239μs)
      • Illuminate\Cache\Events\CacheHit (180μs)
      • Illuminate\Cache\Events\CacheHit (231μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (200μs)
      • Illuminate\Cache\Events\CacheHit (177μs)
      • Illuminate\Cache\Events\CacheHit (199μs)
      • Illuminate\Cache\Events\CacheHit (182μs)
      • Illuminate\Cache\Events\CacheHit (221μs)
      • Illuminate\Cache\Events\CacheHit (156μs)
      • Illuminate\Cache\Events\CacheHit (189μs)
      • Illuminate\Cache\Events\CacheHit (169μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (150μs)
      • Illuminate\Cache\Events\CacheHit (192μs)
      • Illuminate\Cache\Events\CacheHit (163μs)
      • Illuminate\Cache\Events\CacheHit (197μs)
      • Illuminate\Cache\Events\CacheHit (181μs)
      • Illuminate\Cache\Events\CacheHit (239μs)
      • Illuminate\Cache\Events\CacheHit (134μs)
      • Illuminate\Cache\Events\CacheHit (161μs)
      • Illuminate\Cache\Events\CacheHit (179μs)
      • Illuminate\Cache\Events\CacheHit (149μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (169μs)
      • Illuminate\Cache\Events\CacheHit (180μs)
      • Illuminate\Cache\Events\CacheHit (197μs)
      • Illuminate\Cache\Events\CacheHit (166μs)
      • Illuminate\Cache\Events\CacheHit (189μs)
      • Illuminate\Cache\Events\CacheHit (157μs)
      • Illuminate\Cache\Events\CacheHit (202μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (202μs)
      • Illuminate\Cache\Events\CacheHit (176μs)
      • Illuminate\Cache\Events\CacheHit (215μs)
      • Illuminate\Cache\Events\CacheHit (191μs)
      • Illuminate\Cache\Events\CacheHit (234μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (221μs)
      • Illuminate\Cache\Events\CacheHit (194μs)
      • Illuminate\Cache\Events\CacheHit (256μs)
      • Illuminate\Cache\Events\CacheHit (167μs)
      • Illuminate\Cache\Events\CacheHit (203μs)
      • Illuminate\Cache\Events\CacheHit (163μs)
      • Illuminate\Cache\Events\CacheHit (185μs)
      • Illuminate\Cache\Events\CacheHit (174μs)
      • Illuminate\Cache\Events\CacheHit (176μs)
      • Illuminate\Cache\Events\CacheHit (159μs)
      • Illuminate\Cache\Events\CacheHit (212μs)
      • Illuminate\Cache\Events\CacheHit (176μs)
      • Illuminate\Cache\Events\CacheHit (195μs)
      • Illuminate\Cache\Events\CacheHit (171μs)
      • Illuminate\Cache\Events\CacheHit (193μs)
      • Illuminate\Cache\Events\CacheHit (172μs)
      • Illuminate\Cache\Events\CacheHit (204μs)
      • Illuminate\Cache\Events\CacheHit (184μs)
      • Illuminate\Cache\Events\CacheHit (197μs)
      • Illuminate\Cache\Events\CacheHit (169μs)
      • Illuminate\Cache\Events\CacheHit (184μs)
      • Illuminate\Cache\Events\CacheHit (172μs)
      • Illuminate\Cache\Events\CacheHit (189μs)
      • Illuminate\Cache\Events\CacheHit (178μs)
      • Illuminate\Cache\Events\CacheHit (258μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (197μs)
      • Illuminate\Cache\Events\CacheHit (178μs)
      • Illuminate\Cache\Events\CacheHit (210μs)
      • Illuminate\Cache\Events\CacheHit (187μs)
      • Illuminate\Cache\Events\CacheHit (196μs)
      • Illuminate\Cache\Events\CacheHit (178μs)
      • Illuminate\Cache\Events\CacheHit (195μs)
      • Illuminate\Cache\Events\CacheHit (176μs)
      • Illuminate\Cache\Events\CacheHit (191μs)
      • Illuminate\Cache\Events\CacheHit (172μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (163μs)
      • Illuminate\Cache\Events\CacheHit (199μs)
      • Illuminate\Cache\Events\CacheHit (173μs)
      • Illuminate\Cache\Events\CacheHit (209μs)
      • Illuminate\Cache\Events\CacheHit (181μs)
      • Illuminate\Cache\Events\CacheHit (205μs)
      • Illuminate\Cache\Events\CacheHit (156μs)
      • Illuminate\Cache\Events\CacheHit (185μs)
      • Illuminate\Cache\Events\CacheHit (220μs)
      • Illuminate\Cache\Events\CacheHit (175μs)
      • Illuminate\Cache\Events\CacheHit (156μs)
      • Illuminate\Cache\Events\CacheHit (176μs)
      • Illuminate\Cache\Events\CacheHit (158μs)
      • Illuminate\Cache\Events\CacheHit (219μs)
      • Illuminate\Cache\Events\CacheHit (164μs)
      • Illuminate\Cache\Events\CacheHit (179μs)
      • Illuminate\Cache\Events\CacheHit (158μs)
      • Illuminate\Cache\Events\CacheHit (207μs)
      • Illuminate\Cache\Events\CacheHit (183μs)
      • Illuminate\Cache\Events\CacheHit (193μs)
      • Illuminate\Cache\Events\CacheHit (174μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (161μs)
      • Illuminate\Cache\Events\CacheHit (200μs)
      • Illuminate\Cache\Events\CacheHit (181μs)
      • Illuminate\Cache\Events\CacheHit (901μs)
      • Illuminate\Cache\Events\CacheHit (210μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (160μs)
      • Illuminate\Cache\Events\CacheHit (178μs)
      • Illuminate\Cache\Events\CacheHit (163μs)
      • Illuminate\Cache\Events\CacheHit (214μs)
      • Illuminate\Cache\Events\CacheHit (173μs)
      • Illuminate\Cache\Events\CacheHit (189μs)
      • Illuminate\Cache\Events\CacheHit (169μs)
      • Illuminate\Cache\Events\CacheHit (187μs)
      • Illuminate\Cache\Events\CacheHit (168μs)
      • Illuminate\Cache\Events\CacheHit (184μs)
      • Illuminate\Cache\Events\CacheHit (170μs)
      • Illuminate\Cache\Events\CacheHit (187μs)
      • Illuminate\Cache\Events\CacheHit (172μs)
      • Illuminate\Cache\Events\CacheHit (208μs)
      • Illuminate\Cache\Events\CacheHit (198μs)
      • Illuminate\Cache\Events\CacheHit (201μs)
      • Illuminate\Cache\Events\CacheHit (161μs)
      • Illuminate\Cache\Events\CacheHit (180μs)
      • Illuminate\Cache\Events\CacheHit (161μs)
      • Illuminate\Cache\Events\CacheHit (187μs)
      • Illuminate\Cache\Events\CacheHit (232μs)
      • Illuminate\Cache\Events\CacheHit (181μs)
      • Illuminate\Cache\Events\CacheHit (160μs)
      • Illuminate\Cache\Events\CacheHit (200μs)
      • Illuminate\Cache\Events\CacheHit (174μs)
      • Illuminate\Cache\Events\CacheHit (208μs)
      • Illuminate\Cache\Events\CacheHit (171μs)
      • Illuminate\Cache\Events\CacheHit (194μs)
      • Illuminate\Cache\Events\CacheHit (169μs)
      • Illuminate\Cache\Events\CacheHit (184μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (183μs)
      • Illuminate\Cache\Events\CacheHit (170μs)
      • Illuminate\Cache\Events\CacheHit (194μs)
      • Illuminate\Cache\Events\CacheHit (170μs)
      • Illuminate\Cache\Events\CacheHit (185μs)
      • Illuminate\Cache\Events\CacheHit (163μs)
      • Illuminate\Cache\Events\CacheHit (177μs)
      • Illuminate\Cache\Events\CacheHit (156μs)
      • Illuminate\Cache\Events\CacheHit (177μs)
      • Illuminate\Cache\Events\CacheHit (158μs)
      • Illuminate\Cache\Events\CacheHit (177μs)
      • Illuminate\Cache\Events\CacheHit (191μs)
      • Illuminate\Cache\Events\CacheHit (194μs)
      • Illuminate\Cache\Events\CacheHit (164μs)
      • Illuminate\Cache\Events\CacheHit (212μs)
      • Illuminate\Cache\Events\CacheHit (183μs)
      • Illuminate\Cache\Events\CacheHit (216μs)
      • Illuminate\Cache\Events\CacheHit (182μs)
      • Illuminate\Cache\Events\CacheHit (193μs)
      • Illuminate\Cache\Events\CacheHit (165μs)
      • Illuminate\Cache\Events\CacheHit (179μs)
      • Illuminate\Cache\Events\CacheHit (166μs)
      • Illuminate\Cache\Events\CacheHit (196μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (173μs)
      • Illuminate\Cache\Events\CacheHit (156μs)
      • Illuminate\Cache\Events\CacheHit (180μs)
      • Illuminate\Cache\Events\CacheHit (211μs)
      • Illuminate\Cache\Events\CacheHit (295μs)
      • Illuminate\Cache\Events\CacheHit (206μs)
      • Illuminate\Cache\Events\CacheHit (277μs)
      • Illuminate\Cache\Events\CacheHit (190μs)
      • Illuminate\Cache\Events\CacheHit (219μs)
      • Illuminate\Cache\Events\CacheHit (171μs)
      • Illuminate\Cache\Events\CacheHit (208μs)
      • Illuminate\Cache\Events\CacheHit (169μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (189μs)
      • Illuminate\Cache\Events\CacheHit (178μs)
      • Illuminate\Cache\Events\CacheHit (159μs)
      • Illuminate\Cache\Events\CacheHit (177μs)
      • Illuminate\Cache\Events\CacheHit (156μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (159μs)
      • Illuminate\Cache\Events\CacheHit (195μs)
      • Illuminate\Cache\Events\CacheHit (160μs)
      • Illuminate\Cache\Events\CacheHit (187μs)
      • Illuminate\Cache\Events\CacheHit (163μs)
      • Illuminate\Cache\Events\CacheHit (209μs)
      • Illuminate\Cache\Events\CacheHit (160μs)
      • Illuminate\Cache\Events\CacheHit (183μs)
      • Illuminate\Cache\Events\CacheHit (160μs)
      • Illuminate\Cache\Events\CacheHit (197μs)
      • Illuminate\Cache\Events\CacheHit (167μs)
      • Illuminate\Cache\Events\CacheHit (225μs)
      • Illuminate\Cache\Events\CacheHit (169μs)
      • Illuminate\Cache\Events\CacheHit (179μs)
      • Illuminate\Cache\Events\CacheHit (160μs)
      • Illuminate\Cache\Events\CacheHit (178μs)
      • Illuminate\Cache\Events\CacheHit (177μs)
      • Illuminate\Cache\Events\CacheHit (182μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (177μs)
      • Illuminate\Cache\Events\CacheHit (156μs)
      • Illuminate\Cache\Events\CacheHit (195μs)
      • Illuminate\Cache\Events\CacheHit (163μs)
      • Illuminate\Cache\Events\CacheHit (958μs)
      • Illuminate\Cache\Events\CacheHit (170μs)
      • Illuminate\Cache\Events\CacheHit (192μs)
      • Illuminate\Cache\Events\CacheHit (165μs)
      • Illuminate\Cache\Events\CacheHit (189μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (266μs)
      • Illuminate\Cache\Events\CacheHit (164μs)
      • Illuminate\Cache\Events\CacheHit (180μs)
      • Illuminate\Cache\Events\CacheHit (156μs)
      • Illuminate\Cache\Events\CacheHit (176μs)
      • Illuminate\Cache\Events\CacheHit (173μs)
      • Illuminate\Cache\Events\CacheHit (182μs)
      • Illuminate\Cache\Events\CacheHit (160μs)
      • Illuminate\Cache\Events\CacheHit (179μs)
      • Illuminate\Cache\Events\CacheHit (160μs)
      • Illuminate\Cache\Events\CacheHit (179μs)
      • Illuminate\Cache\Events\CacheHit (159μs)
      • Illuminate\Cache\Events\CacheHit (208μs)
      • Illuminate\Cache\Events\CacheHit (170μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (163μs)
      • Illuminate\Cache\Events\CacheHit (179μs)
      • Illuminate\Cache\Events\CacheHit (159μs)
      • Illuminate\Cache\Events\CacheHit (175μs)
      • Illuminate\Cache\Events\CacheHit (158μs)
      • Illuminate\Cache\Events\CacheHit (197μs)
      • Illuminate\Cache\Events\CacheHit (171μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (213μs)
      • Illuminate\Cache\Events\CacheHit (183μs)
      • Illuminate\Cache\Events\CacheHit (163μs)
      • Illuminate\Cache\Events\CacheHit (179μs)
      • Illuminate\Cache\Events\CacheHit (158μs)
      • Illuminate\Cache\Events\CacheHit (208μs)
      • Illuminate\Cache\Events\CacheHit (166μs)
      • Illuminate\Cache\Events\CacheHit (178μs)
      • Illuminate\Cache\Events\CacheHit (156μs)
      • Illuminate\Cache\Events\CacheHit (195μs)
      • Illuminate\Cache\Events\CacheHit (170μs)
      • Illuminate\Cache\Events\CacheHit (190μs)
      • Illuminate\Cache\Events\CacheHit (161μs)
      • Illuminate\Cache\Events\CacheHit (190μs)
      • Illuminate\Cache\Events\CacheHit (164μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (160μs)
      • Illuminate\Cache\Events\CacheHit (184μs)
      • Illuminate\Cache\Events\CacheHit (156μs)
      • Illuminate\Cache\Events\CacheHit (182μs)
      • Illuminate\Cache\Events\CacheHit (155μs)
      • Illuminate\Cache\Events\CacheHit (180μs)
      • Illuminate\Cache\Events\CacheHit (158μs)
      • Illuminate\Cache\Events\CacheHit (291μs)
      • Illuminate\Cache\Events\CacheHit (176μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (158μs)
      • Illuminate\Cache\Events\CacheHit (201μs)
      • Illuminate\Cache\Events\CacheHit (161μs)
      • Illuminate\Cache\Events\CacheHit (179μs)
      • Illuminate\Cache\Events\CacheHit (153μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (153μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (163μs)
      • Illuminate\Cache\Events\CacheHit (178μs)
      • Illuminate\Cache\Events\CacheHit (151μs)
      • Illuminate\Cache\Events\CacheHit (180μs)
      • Illuminate\Cache\Events\CacheHit (274μs)
      • Illuminate\Cache\Events\CacheHit (243μs)
      • Illuminate\Cache\Events\CacheHit (176μs)
      • Illuminate\Cache\Events\CacheHit (189μs)
      • Illuminate\Cache\Events\CacheHit (163μs)
      • Illuminate\Cache\Events\CacheHit (191μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (190μs)
      • Illuminate\Cache\Events\CacheHit (163μs)
      • Illuminate\Cache\Events\CacheHit (187μs)
      • Illuminate\Cache\Events\CacheHit (161μs)
      • Illuminate\Cache\Events\CacheHit (379μs)
      • Illuminate\Cache\Events\CacheHit (168μs)
      • Illuminate\Cache\Events\CacheHit (198μs)
      • Illuminate\Cache\Events\CacheHit (176μs)
      • Illuminate\Cache\Events\CacheHit (185μs)
      • Illuminate\Cache\Events\CacheHit (160μs)
      • Illuminate\Cache\Events\CacheHit (176μs)
      • Illuminate\Cache\Events\CacheHit (160μs)
      • Illuminate\Cache\Events\CacheHit (178μs)
      • Illuminate\Cache\Events\CacheHit (157μs)
      • Illuminate\Cache\Events\CacheHit (176μs)
      • Illuminate\Cache\Events\CacheHit (157μs)
      • creating: site.layouts.app (518μs)
      • composing: site.layouts.app (23μs)
      • creating: components.canonical (602μs)
      • composing: components.canonical (116μs)
      • creating: components.open-graph (262μs)
      • composing: components.open-graph (89μs)
      • creating: site.headers.header (358μs)
      • composing: site.headers.header (85μs)
      • Illuminate\Cache\Events\CacheHit (2.43ms)
      • creating: components.footer (82μs)
      • composing: components.footer (102μs)
      • Illuminate\Cache\Events\CacheHit (951μs)
      • Illuminate\Cache\Events\CacheHit (287μs)
      • Illuminate\Cache\Events\CacheHit (259μs)
      • Illuminate\Cache\Events\CacheHit (184μs)
      • Illuminate\Cache\Events\CacheHit (182μs)
      • Illuminate\Cache\Events\CacheHit (171μs)
      • Illuminate\Cache\Events\CacheHit (179μs)
      • Illuminate\Cache\Events\CacheHit (303μs)
      • Illuminate\Cache\Events\CacheHit (323μs)
      • Illuminate\Cache\Events\CacheHit (198μs)
      • Illuminate\Cache\Events\CacheHit (200μs)
      • Illuminate\Cache\Events\CacheHit (189μs)
      • Illuminate\Cache\Events\CacheHit (200μs)
      • Illuminate\Cache\Events\CacheHit (178μs)
      • creating: components.forms.contact-us (285μs)
      • composing: components.forms.contact-us (242μs)
      • creating: components.forms.get-started (200μs)
      • composing: components.forms.get-started (92μs)
      • creating: components.forms.free-tool-download (152μs)
      • composing: components.forms.free-tool-download (79μs)
      • creating: components.forms.claim-free-worksheet (146μs)
      • composing: components.forms.claim-free-worksheet (75μs)
      • creating: components.forms.tutor-subscription-waitlist (159μs)
      • composing: components.forms.tutor-subscription-waitlist (76μs)
      • creating: components.forms.tutor-subscription-join (146μs)
      • composing: components.forms.tutor-subscription-join (76μs)
      • creating: components.forms.tutor-support (140μs)
      • composing: components.forms.tutor-support (77μs)
      • 321 x Illuminate\Cache\Events\CacheHit (20.65%)
        88.47ms
        10 x Illuminate\Database\Events\StatementPrepared (5.29%)
        22.67ms
        10 x Illuminate\Database\Events\QueryExecuted (2.6%)
        11.12ms
        1 x Illuminate\Foundation\Events\LocaleUpdated (1.06%)
        4.52ms
        1 x Illuminate\Routing\Events\Routing (0.31%)
        1.35ms
        1 x Illuminate\Database\Events\ConnectionEstablished (0.3%)
        1.26ms
        1 x Illuminate\Cache\Events\CacheMissed (0.25%)
        1.06ms
        1 x Illuminate\Cache\Events\KeyWritten (0.24%)
        1.04ms
        1 x creating: components.canonical (0.14%)
        602μs
        1 x Illuminate\Routing\Events\RouteMatched (0.13%)
        545μs
        1 x creating: site.layouts.app (0.12%)
        518μs
        6 x eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (0.09%)
        403μs
        1 x eloquent.booting: App\Models\SubjectCat (0.08%)
        358μs
        1 x creating: site.headers.header (0.08%)
        358μs
        1 x creating: components.breadcrumbs (0.08%)
        347μs
        1 x creating: homework.show (0.07%)
        317μs
        2 x eloquent.retrieved: App\Models\SubjectCat (0.07%)
        295μs
        1 x creating: components.forms.contact-us (0.07%)
        285μs
        1 x creating: components.open-graph (0.06%)
        262μs
        2 x eloquent.retrieved: App\Models\Subject (0.06%)
        242μs
        1 x composing: components.forms.contact-us (0.06%)
        242μs
        10 x eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (0.05%)
        235μs
        1 x eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibrary (0.05%)
        229μs
        1 x eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibrary (0.05%)
        216μs
        1 x creating: components.forms.get-started (0.05%)
        200μs
        1 x composing: components.breadcrumbs (0.04%)
        185μs
        1 x creating: components.forms.tutor-subscription-waitlist (0.04%)
        159μs
        1 x creating: components.forms.free-tool-download (0.04%)
        152μs
        1 x creating: components.forms.claim-free-worksheet (0.03%)
        146μs
        1 x creating: components.forms.tutor-subscription-join (0.03%)
        146μs
        1 x creating: components.forms.tutor-support (0.03%)
        140μs
        1 x eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibraryFile (0.03%)
        139μs
        1 x composing: homework.show (0.03%)
        125μs
        1 x composing: components.canonical (0.03%)
        116μs
        1 x eloquent.booting: App\Models\Subject (0.02%)
        104μs
        1 x composing: components.footer (0.02%)
        102μs
        1 x composing: components.forms.get-started (0.02%)
        92μs
        1 x composing: components.open-graph (0.02%)
        89μs
        1 x composing: site.headers.header (0.02%)
        85μs
        1 x creating: components.footer (0.02%)
        82μs
        1 x composing: components.forms.free-tool-download (0.02%)
        79μs
        1 x composing: components.forms.tutor-support (0.02%)
        77μs
        1 x composing: components.forms.tutor-subscription-waitlist (0.02%)
        76μs
        1 x composing: components.forms.tutor-subscription-join (0.02%)
        76μs
        1 x composing: components.forms.claim-free-worksheet (0.02%)
        75μs
        1 x eloquent.booted: App\Models\SubjectCat (0.01%)
        43μs
        1 x eloquent.booted: App\Models\Subject (0.01%)
        42μs
        1 x eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibraryFile (0.01%)
        42μs
        1 x composing: site.layouts.app (0.01%)
        23μs
      14 templates were rendered
      • 1x homework.showshow.blade.phpblade
      • 1x components.breadcrumbsbreadcrumbs.blade.phpblade
      • 1x site.layouts.appapp.blade.phpblade
      • 1x components.canonicalcanonical.blade.phpblade
      • 1x components.open-graphopen-graph.blade.phpblade
      • 1x site.headers.headerheader.blade.phpblade
      • 1x components.footerfooter.blade.phpblade
      • 1x components.forms.contact-uscontact-us.blade.phpblade
      • 1x components.forms.get-startedget-started.blade.phpblade
      • 1x components.forms.free-tool-downloadfree-tool-download.blade.phpblade
      • 1x components.forms.claim-free-worksheetclaim-free-worksheet.blade.phpblade
      • 1x components.forms.tutor-subscription-waitlisttutor-subscription-waitlist.blade.phpblade
      • 1x components.forms.tutor-subscription-jointutor-subscription-join.blade.phpblade
      • 1x components.forms.tutor-supporttutor-support.blade.phpblade
      uri
      GET college-homework-library/{category}/{subject}/{id}
      middleware
      web, utm.parameters
      controller
      App\Http\Controllers\HomeworkLibraryController@show
      namespace
      where
      as
      homework.show
      file
      app/Http/Controllers/HomeworkLibraryController.php:79-176
      10 statements were executed, 4 of which were duplicates, 6 unique. Show only duplicated23.03ms
      • Connection Establishedtwenty4_siteHomeworkLibraryController.php#91
        Backtrace
        • 13. app/Http/Controllers/HomeworkLibraryController.php:91
        • 14. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 15. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 16. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
        • 17. vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • select * from `solutionslibrary` where `status` = 'published' and `price` > 0 and `solutionslibrary`.`id` = '45584' limit 1
        11.04mstwenty4_siteHomeworkLibraryController.php#97
        Bindings
        • 0: published
        • 1: 0
        • 2: 45584
        Backtrace
        • 16. app/Http/Controllers/HomeworkLibraryController.php:97
        • 17. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 18. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 19. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
        • 20. vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • select * from `subjects` where `subjects`.`id` in (228)
        2.16mstwenty4_siteHomeworkLibraryController.php#97
        Backtrace
        • 21. app/Http/Controllers/HomeworkLibraryController.php:97
        • 22. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 23. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 24. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
        • 25. vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • select * from `solutionslibrary_files` where `solutionslibrary_files`.`solutionlib_id` in (45584)
        1.22mstwenty4_siteHomeworkLibraryController.php#97
        Backtrace
        • 21. app/Http/Controllers/HomeworkLibraryController.php:97
        • 22. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 23. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 24. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
        • 25. vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • select * from `subject_cats` where `subject_cats`.`id` = 3 limit 1
        1.45mstwenty4_siteHomeworkLibrary.php#201
        Bindings
        • 0: 3
        Backtrace
        • 20. app/Models/HomeworkLibrary/HomeworkLibrary.php:201
        • 26. app/Http/Controllers/HomeworkLibraryController.php:105
        • 27. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 28. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 29. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • select * from `solutionslibrary` where `id` <> 45584 and `subject` = 228 and `status` = 'published' and `price` > 0 order by RAND() limit 6
        2.24mstwenty4_siteHomeworkLibraryRepository.php#30
        Bindings
        • 0: 45584
        • 1: 228
        • 2: published
        • 3: 0
        Backtrace
        • 14. app/Repositories/HomeworkLibraryRepository.php:30
        • 15. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 16. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 18. app/Repositories/HomeworkLibraryRepository.php:39
        • 19. app/Http/Controllers/HomeworkLibraryController.php:139
      • select * from `subjects` where `subjects`.`id` in (228)
        1.12mstwenty4_siteHomeworkLibraryRepository.php#30
        Backtrace
        • 19. app/Repositories/HomeworkLibraryRepository.php:30
        • 20. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 21. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 23. app/Repositories/HomeworkLibraryRepository.php:39
        • 24. app/Http/Controllers/HomeworkLibraryController.php:139
      • select * from `solutionslibrary_files` where `solutionslibrary_files`.`solutionlib_id` = 45584 and `solutionslibrary_files`.`solutionlib_id` is not null and `publish` = 'question' order by `order` asc, `id` asc
        890μstwenty4_siteHomeworkLibrary.php#260
        Bindings
        • 0: 45584
        • 1: question
        Backtrace
        • 15. app/Models/HomeworkLibrary/HomeworkLibrary.php:260
        • 16. app/Transformers/HomeworkLibrary/HomeworkLibraryTransformer.php:58
        • 19. vendor/league/fractal/src/TransformerAbstract.php:128
        • 20. vendor/league/fractal/src/TransformerAbstract.php:107
        • 21. vendor/league/fractal/src/Scope.php:383
      • select * from `solutionslibrary_files` where `solutionslibrary_files`.`solutionlib_id` = 45584 and `solutionslibrary_files`.`solutionlib_id` is not null and `publish` = 'teaser' order by `order` asc, `id` asc
        820μstwenty4_siteHomeworkLibrary.php#260
        Bindings
        • 0: 45584
        • 1: teaser
        Backtrace
        • 15. app/Models/HomeworkLibrary/HomeworkLibrary.php:260
        • 16. app/Transformers/HomeworkLibrary/HomeworkLibraryTransformer.php:69
        • 19. vendor/league/fractal/src/TransformerAbstract.php:128
        • 20. vendor/league/fractal/src/TransformerAbstract.php:107
        • 21. vendor/league/fractal/src/Scope.php:383
      • select * from `solutionslibrary_files` where `solutionslibrary_files`.`solutionlib_id` = 45584 and `solutionslibrary_files`.`solutionlib_id` is not null and `publish` = 'solution' order by `order` asc, `id` asc
        910μstwenty4_siteHomeworkLibrary.php#260
        Bindings
        • 0: 45584
        • 1: solution
        Backtrace
        • 15. app/Models/HomeworkLibrary/HomeworkLibrary.php:260
        • 16. app/Transformers/HomeworkLibrary/HomeworkLibraryTransformer.php:80
        • 19. vendor/league/fractal/src/TransformerAbstract.php:128
        • 20. vendor/league/fractal/src/TransformerAbstract.php:107
        • 21. vendor/league/fractal/src/Scope.php:383
      • select * from `subject_cats` where `subject_cats`.`id` = 3 limit 1
        1.18mstwenty4_siteHomeworkLibrary.php#201
        Bindings
        • 0: 3
        Backtrace
        • 20. app/Models/HomeworkLibrary/HomeworkLibrary.php:201
        • 32. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
        • 33. vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
        • 34. vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php:69
        • 35. vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70
      App\Models\HomeworkLibrary\HomeworkLibraryFile
      10HomeworkLibraryFile.php
      App\Models\HomeworkLibrary\HomeworkLibrary
      6HomeworkLibrary.php
      App\Models\Subject
      2Subject.php
      App\Models\SubjectCat
      2SubjectCat.php
          _token
          qLeNd0LcsTBlUq6oKPuPrinCyDG2nqailRtCsoBt
          utm_source
          direct
          redirectUrl
          /college-homework-library/Computer-Science/Parallel-Computing/45584
          _previous
          array:1 [ "url" => "https://staging.dev.24houranswers.com/college-homework-library/Computer-Scienc...
          _flash
          array:2 [ "old" => [] "new" => [] ]
          PHPDEBUGBAR_STACK_DATA
          []
          path_info
          /college-homework-library/Computer-Science/Parallel-Computing/45584
          status_code
          200
          
          status_text
          OK
          format
          html
          content_type
          text/html; charset=UTF-8
          request_query
          []
          
          request_request
          []
          
          request_headers
          0 of 0
          array:21 [ "priority" => array:1 [ 0 => "u=0, i" ] "accept-encoding" => array:1 [ 0 => "gzip, deflate, br, zstd" ] "sec-fetch-dest" => array:1 [ 0 => "document" ] "sec-fetch-user" => array:1 [ 0 => "?1" ] "sec-fetch-mode" => array:1 [ 0 => "navigate" ] "sec-fetch-site" => array:1 [ 0 => "none" ] "accept" => array:1 [ 0 => "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7" ] "user-agent" => array:1 [ 0 => "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" ] "upgrade-insecure-requests" => array:1 [ 0 => "1" ] "sec-ch-ua-platform" => array:1 [ 0 => ""Windows"" ] "sec-ch-ua-mobile" => array:1 [ 0 => "?0" ] "sec-ch-ua" => array:1 [ 0 => ""HeadlessChrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"" ] "cache-control" => array:1 [ 0 => "no-cache" ] "pragma" => array:1 [ 0 => "no-cache" ] "x-amzn-trace-id" => array:1 [ 0 => "Root=1-680d9278-4770639509f3bdb852cdddd4" ] "host" => array:1 [ 0 => "staging.dev.24houranswers.com" ] "x-forwarded-port" => array:1 [ 0 => "443" ] "x-forwarded-proto" => array:1 [ 0 => "https" ] "x-forwarded-for" => array:1 [ 0 => "13.59.46.202" ] "content-length" => array:1 [ 0 => "" ] "content-type" => array:1 [ 0 => "" ] ]
          request_cookies
          []
          
          response_headers
          0 of 0
          array:5 [ "content-type" => array:1 [ 0 => "text/html; charset=UTF-8" ] "cache-control" => array:1 [ 0 => "no-cache, private" ] "date" => array:1 [ 0 => "Sun, 27 Apr 2025 02:12:08 GMT" ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IjNxSTNhWlZhdVhrSkxWU0RKUStLT3c9PSIsInZhbHVlIjoibFk4bzRyMzY5VlEwc0ZGT1hxVXFCUk5pRjRPOVZLOXc4QTRtN0I2dUh4ZnFtSlZkbURMbm1BRGJYVVQwd2pjYmpMOHRvaTRLaHVvODBNcWRMUGIxcFVVeTZIdUJHSE9xOXpHUWlKNGUrbW9IN2VhN2FEdDl1b1lyK2JLd3NLTG0iLCJtYWMiOiI4N2FkNjE5NzExZTY2YzQxODAyZWNiNTkwZTEzOWIzYTU2YWJjZDJkOTk4MjcxNzg3YTNlYzU5OTg1ZjAwMjQ5IiwidGFnIjoiIn0%3D; expires=Sun, 27 Apr 2025 04:12:08 GMT; Max-Age=7200; path=/; domain=.24houranswers.com; samesite=laxXSRF-TOKEN=eyJpdiI6IjNxSTNhWlZhdVhrSkxWU0RKUStLT3c9PSIsInZhbHVlIjoibFk4bzRyMzY5VlEwc0ZGT1hxVXFCUk5pRjRPOVZLOXc4QTRtN0I2dUh4ZnFtSlZkbURMbm1BRGJYVVQwd2pjYmpMOHRva" 1 => "24houranswers_session=eyJpdiI6IjNkRTBmU3ZFWjRVYk8vMm53ZExpOUE9PSIsInZhbHVlIjoib0JhSTdZTG4yYzBPMFpiLzFyWTdtZENnN2ZkTDg4N0F1VmlOM2dvWGFkaWJVTXE2WkJOdllPQzlFd1M5QzcwbDhtckhJLzVUck9QUG11dWVlSDBVZEsvd2p1L0lycDJIMHBsYXp2TnNHN1BVcUlGYndXSXFmVzhuOVZ4WWtPS1YiLCJtYWMiOiJmOWNhYTEzY2U0MGYzMzAxZmVlNzg4MzA1ZjUwZjdlMWQyYWIyZDY5N2Q1ODAwMTk2YmU4ZmNkNDZkZWY1ZTJlIiwidGFnIjoiIn0%3D; expires=Sun, 27 Apr 2025 04:12:08 GMT; Max-Age=7200; path=/; domain=.24houranswers.com; httponly; samesite=lax24houranswers_session=eyJpdiI6IjNkRTBmU3ZFWjRVYk8vMm53ZExpOUE9PSIsInZhbHVlIjoib0JhSTdZTG4yYzBPMFpiLzFyWTdtZENnN2ZkTDg4N0F1VmlOM2dvWGFkaWJVTXE2WkJOdllPQzlFd1M5Qz" ] "Set-Cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IjNxSTNhWlZhdVhrSkxWU0RKUStLT3c9PSIsInZhbHVlIjoibFk4bzRyMzY5VlEwc0ZGT1hxVXFCUk5pRjRPOVZLOXc4QTRtN0I2dUh4ZnFtSlZkbURMbm1BRGJYVVQwd2pjYmpMOHRvaTRLaHVvODBNcWRMUGIxcFVVeTZIdUJHSE9xOXpHUWlKNGUrbW9IN2VhN2FEdDl1b1lyK2JLd3NLTG0iLCJtYWMiOiI4N2FkNjE5NzExZTY2YzQxODAyZWNiNTkwZTEzOWIzYTU2YWJjZDJkOTk4MjcxNzg3YTNlYzU5OTg1ZjAwMjQ5IiwidGFnIjoiIn0%3D; expires=Sun, 27-Apr-2025 04:12:08 GMT; domain=.24houranswers.com; path=/XSRF-TOKEN=eyJpdiI6IjNxSTNhWlZhdVhrSkxWU0RKUStLT3c9PSIsInZhbHVlIjoibFk4bzRyMzY5VlEwc0ZGT1hxVXFCUk5pRjRPOVZLOXc4QTRtN0I2dUh4ZnFtSlZkbURMbm1BRGJYVVQwd2pjYmpMOHRva" 1 => "24houranswers_session=eyJpdiI6IjNkRTBmU3ZFWjRVYk8vMm53ZExpOUE9PSIsInZhbHVlIjoib0JhSTdZTG4yYzBPMFpiLzFyWTdtZENnN2ZkTDg4N0F1VmlOM2dvWGFkaWJVTXE2WkJOdllPQzlFd1M5QzcwbDhtckhJLzVUck9QUG11dWVlSDBVZEsvd2p1L0lycDJIMHBsYXp2TnNHN1BVcUlGYndXSXFmVzhuOVZ4WWtPS1YiLCJtYWMiOiJmOWNhYTEzY2U0MGYzMzAxZmVlNzg4MzA1ZjUwZjdlMWQyYWIyZDY5N2Q1ODAwMTk2YmU4ZmNkNDZkZWY1ZTJlIiwidGFnIjoiIn0%3D; expires=Sun, 27-Apr-2025 04:12:08 GMT; domain=.24houranswers.com; path=/; httponly24houranswers_session=eyJpdiI6IjNkRTBmU3ZFWjRVYk8vMm53ZExpOUE9PSIsInZhbHVlIjoib0JhSTdZTG4yYzBPMFpiLzFyWTdtZENnN2ZkTDg4N0F1VmlOM2dvWGFkaWJVTXE2WkJOdllPQzlFd1M5Qz" ] ]
          session_attributes
          0 of 0
          array:6 [ "_token" => "qLeNd0LcsTBlUq6oKPuPrinCyDG2nqailRtCsoBt" "utm_source" => "direct" "redirectUrl" => "/college-homework-library/Computer-Science/Parallel-Computing/45584" "_previous" => array:1 [ "url" => "https://staging.dev.24houranswers.com/college-homework-library/Computer-Science/Parallel-Computing/45584" ] "_flash" => array:2 [ "old" => [] "new" => [] ] "PHPDEBUGBAR_STACK_DATA" => [] ]