55 questions
void dice(int count) { int i; if (n < count) { print(n); return; } for (i = arr[count - 1]; i <= 6; i++) { arr[count] = i; dice(count + 1); }}This is.Looking at this code, count gave the par...
import java.util.Scanner; // Invoke an external class to insert a scannerpublic class money { public static void main(String[] args) { // // TODO Auto-generated method stub String input; Scanner sc...
#include <stdio.h> void dice(int , int );int main(void){int input1, input2;scanf_s(%d%d, &input1, &input2);dice(input1, input2);return 0;}void dice(int num1, int num2){int a = 1, b = 1;w...
Hello. I'm asking you a question because I'm stuck while studying Twitter crawl on Python.I thought the problem would be solved quickly because it was very simple, but I can't think of a solution.//im...
I'm writing code to make it like this, but it got stuck while writing no1~5 below.score = [88,95,70,100,99] classes = [Korean, Math, Science, Physics, Chemistry] for i, v...
I'm making a program that makes a 365-day button to make a year's calendar, but as I set Layout every week, the coding gets too long if I do it, so I tried to use an arrangement using a for statement,...
#Create SuperfileOrgdf1 = pd.read_excel('C:\pytest\\Data_org_superfile.xlsx',sheet_name='name')Data_Org = {}for Freq in set(df1['Freq']): Data_Org[Freq] = {} for i,NAME in tqdm(enumerate(df1[df1['Freq...
While using the format function, it seems that there was a problem that I did not know the concepts of global and regional variables.You set global variables such as a0, b0, which are data frames with...
#include <iostream>using namespace std;int main(){ const int N=3; int i,j; for(i=0; i < N; i++){ for(j=i; j < N; j++){ cout << i << << j << endl; } }}When you go ...
# Parsing matchalpha_list = [A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P]# After parsing alpha_list = [A, &, B, &, C, &, D, &&, E, &, F, &, G, &, H, &&, I, &...
« | - 4 - | » |
© 2024 OneMinuteCode. All rights reserved.