Search Results
| Search type | Search syntax |
|---|---|
| Tags | [tag] |
| Exact | "words here" |
| Author | user:1234 user:me (yours) |
| Score | score:3 (3+) score:0 (none) |
| Answers | answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
| Views | views:250 |
| Code | code:"if (foo != bar)" |
| Sections | title:apples body:"apples oranges" |
| URL | url:"*.example.com" |
| Saves | in:saves |
| Status | closed:yes duplicate:no migrated:no wiki:no |
| Types | is:question is:answer |
| Exclude | -[tag] -apples |
| For more details on advanced search visit our help page | |
Results found
Search options not deleted duplicate
1 vote
0 answers
27 views
Optimizing search algorithm for guessing list of strings via function returning bool if subs... [duplicate]
I trying to figure out the most effective way to accomplish this task: A function, check(), contains a list of strings. Calling the function with a string as argument, will return True if the argument …
3 votes
2 answers
167 views
My first ever calculator C# [duplicate]
This is my first ever created program I've made. It's not very good but I'm pretty proud of it. If you have any suggestions I could add into the calculator I would gladly do that. using System; using …
1 vote
0 answers
56 views
Event System in C++ [duplicate]
I am excited to share that I have developed an event system in C++. I have always been passionate about programming and have long aspired to create a low-level game engine solely using C++, OpenGL, an …
-1 votes
1 answer
59 views
Graph Neural Network (GNN) (2) [duplicate]
This is an implementation of a graph neural network. Edges are represented by an egde-list. ### GNN taking edge list as an input import numpy as np import pandas as pd import tensorflow as tf from te …
4 votes
1 answer
204 views
Hexadecimal conversions as range adaptors in C++23 that work at compile time (and run time) [duplicate]
This is obsoleted by a significantly better version. The following code is an implementation of hexadecimal conversions as range adaptors in C++23. It can be used at compile time, but should of course …
1 vote
0 answers
66 views
Graph: A backcountry explorer [duplicate]
Would you help me? I want to make this code efficient and simple. Original Link Frodo, a backcountry explorer, came to explore an underground cave with n rooms during his expedition. All rooms are num …
1 vote
1 answer
2k views
Text class for Pygame [duplicate]
Failing to get a solution to my problem from other people, I got tired of waiting and wrote this (rather rushed) Text class to deal with the text problems I've been having in Pygame. I wanted the text …
1 vote
1 answer
111 views
How to reduce this RadioGroup Code? [duplicate]
I have 18 RadioGroup. I am declaring the RadioGroup like this way private RadioGroup kn1RadioGroup, kn2RadioGroup, kn4aRadioGroup, kn4bRadioGroup, kn4cRadioGroup, kn4dRadioGroup, kn4eRadioGroup, kn4 …
2 votes
0 answers
35 views
Fit memory allocation [duplicate]
The program will read size of free memory partitions and size of processes from a text file and then will try to allocate a memory partition for each process using the first-fit algorithm. Input examp …
5 votes
0 answers
369 views
Van Emde Boas tree -based map in Java [duplicate]
(Follow-up question: Improved Van Emde Boas tree based map in Java) For the experimental part of my MSc thesis I was working on van Emde Boas tree, and I have this: package fi.helsinki.coderodde.sea …
0 votes
0 answers
36 views
Any efficient way to solve anagrams? [duplicate]
import java.io.* ; import java.util.* ; public static void main(String[] args) { Scanner input = new Scanner(System.in); String str1 = input.nextLine().toLowerCase(); String str2 = …
-1 votes
2 answers
102 views
Remove duplicates from array and save it to another one [duplicate]
I have been tasked to make an array without duplicated values from another existing array. So I did it, but I want to know is there some other better way to do that. Example input/output Input: 1, 15, …
3 votes
1 answer
163 views
Compile time (and run time) RFC 4648 compliant Base16 conversions as range adaptors in C++23... [duplicate]
Edit: obsoleted by an improved version. Edit: now updated with unit tests that show that this implementation also works for non-forward ranges, i.e. string streams, files streams, on-the-fly encoding …
1 vote
0 answers
67 views
Genetic trisexual algorithm for TSP in Java [duplicate]
(A more efficient version of the GA.) This is my the very first take ever on GA: GeneticTSPSolverV1.java: package com.github.coderodde.tsp.impl; import com.github.coderodde.tsp.AllPairsShortestPathD …
-2 votes
0 answers
36 views
Move image files according to watermark identified by a neural network [duplicate]
I have created a neural network that can identify watermarks and can classify them to which company do they belong. Now I created a script that will identify watermark from a folder and move them to d …