Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
Trace
//g++ 5.4.0 #include <bits/stdc++.h> using namespace std; #define TRACE #ifdef TRACE #define trace(...) __f(#__VA_ARGS__, __VA_ARGS__) template <typename Arg1> void __f(const char* name, Arg1&& arg1){ cout << name << " : " << arg1 << endl; } template <typename Arg1, typename... Args> void __f(const char* names, Arg1&& arg1, Args&&... args){ const char* comma = strchr(names + 1, ','); cout.write(names, comma - names) << " : " << arg1<<" | ";__f(comma+1, args...); } #else #define trace(...) #endif int main() { ios_base::sync_with_stdio(0); cin.tie(NULL); std::cout << "Hello, world!\n"; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Income calculator
Dar
simple use of templete
queueLinkedlist
Bitwise - Check power of 2 or not
selection_sort
C5P20
project
maximum nights you can accommodate
Nieparzyste w macierzy
stackse - search stackoverflow differently
Please log in to post a comment.