12
4.0
Hello, World!
#include <stdio.h>
int main(void)
#include <iostream> | |
#include <sstream> | |
#include <vector> | |
#include <ctime> | |
using namespace std; | |
using vvi = vector<vector<int>>; | |
// DRIVE |
while (getline(std::cin, s)) | |
{ | |
stringstream ss(s); | |
while (!ss.eof()) | |
{ | |
ss >> temp; | |
if (stringstream(temp) >> n) | |
cout << n << " "; | |
} | |
cout << endl; |
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, |
h = 0 | |
while True: | |
try: | |
h = int(input("Height: ")) | |
except ValueError: | |
continue | |
if int(h) < 1 or int(h) > 64: | |
continue | |
else: | |
break |