Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
12hours Clock c++
#include <iostream> #include <ctime> #include <sstream> using namespace std; int main() { time_t now=time(0); struct tm* gmt=localtime(&now); char *dt=asctime(gmt); puts(dt); char buffer[20]; strftime (buffer,80,"%I:%M %p.",gmt); puts(buffer); }
run
|
edit
|
history
|
help
0
Sort 0's 1's 2's
top5words
TREAP RANGE QUERY (but it's runtime is not that good)
random
cppPyPoly
Random Vector Generator
PriQHotel2
Test 9(2021)
MergeSort
cppPyEnum