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
std::string super_duper_function() { | |
return "Have a good weekend!"; | |
} |
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 <stdio.h> | |
// Пример, чтобы убедиться, что invoke работает | |
// int invoke(int16_t *arr, int size, int pivot) { | |
// int sum = 0; | |
// for (int i = 0; i != size; ++i) { | |
// sum += arr[i]; | |
// } | |
// | |
// return sum; |
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 <thread> | |
struct A { | |
void call_A() { | |
std::cout << "val: " << val << std::endl; | |
} | |
int val; | |
}; |
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 ( | |
"log" | |
"os" | |
) | |
func main() { | |
loggerInfo := log.New(os.Stdout, "INFO: ", | |
log.Ldate|log.Lmicroseconds|log.Lshortfile) |