Created
August 19, 2021 14:28
-
-
Save ryank231231/e5c328dec9dec50adc1f7093cfce44e4 to your computer and use it in GitHub Desktop.
prpr
This file contains hidden or 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
/* | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2004 Sam Hocevar <[email protected]> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION | |
0. You just DO WHAT THE FUCK YOU WANT TO. | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
int un_mei_no_sen_ta_ku(size_t arr_length) { | |
return rand() % arr_length; | |
} | |
int main() | |
{ | |
srand((int)time(NULL) * 114514); | |
char *emoticon[] = { | |
"⁄(⁄ ⁄•⁄ω⁄•⁄ ⁄)⁄", | |
"(≧ ﹏ ≦)", | |
"(*/ω\*)", | |
"ヽ(*。>Д<)o゜", | |
"(つ ﹏ ⊂)" | |
}; | |
size_t emoticon_size = sizeof(emoticon) / sizeof(emoticon[0]); | |
printf("%s\n", emoticon[un_mei_no_sen_ta_ku(emoticon_size)]); | |
} |
Author
ryank231231
commented
Aug 19, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment