This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <chrono> | |
#include <iostream> | |
#include <vector> | |
using namespace std; | |
using clk = chrono::high_resolution_clock; | |
volatile int sink_val = 0; // prevent over-optimization | |
struct Node { | |
int val; | |
Node* next; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <chrono> | |
#include <iostream> | |
#include <vector> | |
#include <random> | |
using namespace std; | |
using clk = chrono::high_resolution_clock; | |
volatile int sink_val = 0; | |
struct Node { | |
int val; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <chrono> | |
#include <iostream> | |
#include <vector> | |
using namespace std; | |
using clk = chrono::high_resolution_clock; | |
volatile int sink_val = 0; | |
struct Node { | |
int val; | |
Node* next; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <chrono> | |
#include <iostream> | |
#include <vector> | |
#include <random> | |
using namespace std; | |
using clk = chrono::high_resolution_clock; | |
volatile int sink_val = 0; | |
struct SLLNode { | |
int val; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <chrono> | |
#include <iostream> | |
#include <vector> | |
#include <random> | |
using namespace std; | |
using clk = chrono::high_resolution_clock; | |
volatile int sink_val = 0; | |
struct SLLNode { | |
int val; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <chrono> | |
#include <iostream> | |
#include <vector> | |
using namespace std; | |
using clk = chrono::high_resolution_clock; | |
volatile int sink_val = 0; | |
struct SLLNode { | |
int data; | |
SLLNode* next; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <chrono> | |
#include <iostream> | |
#include <vector> | |
#include <random> | |
#include <string> | |
using namespace std; | |
using clk = chrono::high_resolution_clock; | |
volatile int sink_val = 0; | |
struct SLLItem { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <chrono> | |
#include <iostream> | |
#include <vector> | |
#include <random> | |
#include <string> | |
using namespace std; | |
using clk = chrono::high_resolution_clock; | |
volatile int sink_val = 0; | |
struct Action { |