This file contains 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 <iostream> | |
#include <string> | |
#include <math.h> | |
using namespace std; | |
int main() | |
{ | |
int a = 2000000000; | |
int cc =1; |
This file contains 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
package main | |
import ( | |
"fmt" | |
"reflect" | |
) | |
// variadic argument to utilize Go slices expansion mechanism '...' | |
func flatten(input ...interface{}) (res []int) { | |
for _, val := range input { |
This file contains 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 <iostream> | |
#include <string> | |
#include <unistd.h> | |
#include <ctime> | |
#include <unordered_map> | |
#include <cds/init.h> | |
#include <cds/gc/hp.h> | |
#include "cds/opt/hash.h" | |
#include "cds/container/michael_list_hp.h" | |
#include "cds/container/split_list_map.h" |