Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
std override
#include<iostream> #include<cmath> int abs(int a){ std::cout << "mine!\n"; return a > 0? -a : a ;} int main(){ int a = abs(-5); int b = std::abs(-5); std::cout << a << std::endl<< b <<std::endl; return 0; }
run
|
edit
|
history
|
help
0
Competitive - Algorithm for max number of superior characters
C++ Assignment..
#8
Not an overflow
#30.3
Overload resolve function pointer
asock
hangman
Insertion vs Sort
Generic EventProvider