12
4.0
Hello, World!
#include <stdio.h>
int main(void)
h = 0 | |
while True: | |
try: | |
h = int(input("Height: ")) | |
except ValueError: | |
continue | |
if int(h) < 1 or int(h) > 64: | |
continue | |
else: | |
break |
let multiply = function(num1, num2) { | |
if(isNaN(num1) || isNaN(num2)) return '' | |
let len1 = num1.length, | |
len2 = num2.length | |
let ans = [] | |
for (let i = len1 - 1; i >= 0; i--) { | |
for (let j = len2 - 1; j >= 0; j--) { | |
let index1 = i + j, |
while (getline(std::cin, s)) | |
{ | |
stringstream ss(s); | |
while (!ss.eof()) | |
{ | |
ss >> temp; | |
if (stringstream(temp) >> n) | |
cout << n << " "; | |
} | |
cout << endl; |
#include <iostream> | |
#include <sstream> | |
#include <vector> | |
#include <ctime> | |
using namespace std; | |
using vvi = vector<vector<int>>; | |
// DRIVE |
_ _ _ _ _ _
| |__ ___| | | ___ __ _____ _ __| | __| | |
| '_ \ / _ \ | |/ _ \ \ \ /\ / / _ \| '__| |/ _` | |
| | | | __/ | | (_) | \ V V / (_) | | | | (_| |_|
|_| |_|\___|_|_|\___/ \_/\_/ \___/|_| |_|\__,_(_)
#ifndef DEQUE_H | |
# define DEQUE_H | |
# include "stdlib.h" | |
# include "stdio.h" | |
typedef struct s_deque | |
{ | |
struct s_deque_node *head; | |
struct s_deque_node *tail; | |
int len; |
#include "stdlib.h" | |
#include "string.h" | |
#include "unistd.h" // time | |
#include "pthread.h" | |
#include "stdio.h" | |
typedef struct s_philo | |
{ | |
int how_many_people; | |
int id; /* The philosopher's id: 0 to 5 */ |
party : | |
@printf "\033c" | |
@echo "\n\033[35m♪┏(・o・)┛♪" | |
@sleep 1 | |
@printf "\033c" | |
@echo "\033[1;33m♪┗(・o・)┓♪" | |
@sleep 1 | |
@printf "\033c" | |
@echo "\n\033[36m♪┏(・o・)┛♪" | |
@sleep 1 |