algorithm tag

168 questions


2 answers
47 views
0
Slot Machine Flow Diagram [Closed]

Do you want to improve this question?Edit this post and update the question to focus on one issueClosed 7 years ago.7 years agoI'd like to make a flow diagram of the slot machine.When you press the st...

2 years ago

1 answers
76 views
0
What is Judy array?

It looks like an associative array, but For associative arrays, map I think it's sufficient that it's easily prepared in STL.Why was Judy array born?Compared to map and set, what is the big difference...


1 answers
93 views
0
What is Judy array?

It looks like an associative array, but For associative arrays, map I think it's sufficient that it's easily prepared in STL.Why was Judy array born?Compared to map and set, what is the big difference...


1 answers
44 views
0
a method of determining the number of secretaries to be selected

One of the most appropriate suspension issues is the selection of secretaries, but how should we decide the number to postpone?Description of Wikipedia is difficult for me.Additional I was able to get...

2 years ago

2 answers
47 views
0
I want to make Sudoku 16x16 or 25x25 with less computation.

I started a program to make Sudoku as follows.I was able to create 9x9 without any problems (without feeling slow).16x16 immediately becomes heavy, like an infinite loop, and no end of processing.In t...

2 years ago

2 answers
47 views
0
I want to make Sudoku 16x16 or 25x25 with less computation.

I started a program to make Sudoku as follows.I was able to create 9x9 without any problems (without feeling slow).16x16 immediately becomes heavy, like an infinite loop, and no end of processing.In t...

2 years ago

1 answers
45 views
0
a method of determining the number of secretaries to be selected

One of the most appropriate suspension issues is the selection of secretaries, but how should we decide the number to postpone?Description of Wikipedia is difficult for me.Additional I was able to get...

2 years ago

3 answers
58 views
0
BIT SWAP METHOD

How do I reverse (swap) the order of bits for a fixed bit length (example 16 bits)?Example: 0001 1010 1100 1000 to 00010011 0101000 Only functions included in the standard library of C language are us...

2 years ago

1 answers
45 views
0
I can't solve the labyrinthine problem in Python.

Read the body of the problem here: AtCoder Typical Contest 001A - Depth Priority Search My code is as follows.import syssys.setrecursionlimit(10000)H,W = map(int, input().split())maze = [list(map(str,...

2 years ago

1 answers
70 views
0
Understanding Stack Structure in c++

When I tried to implement reverse Poland, after receiving input in while(scanf(%s,s)!=EOF), the conditional branch begins in if(s[0]=='+'). Why do I keep the index of s[0] and array 0 fixed?I imagine ...

2 years ago
« - 5 - »

© 2024 OneMinuteCode. All rights reserved.