1304 questions
#include<stdio.h>#define MAX4void enquene(char*Q, charx);char queue (char*Q);void initialize (char*Q);intempty (char*Q);int head = 0;intail = 0;int number = 0;void enqueue(char*Q, charx){ if (nu...
I wrote the following in C language.As long as I run it on hand, it's right, but it's going to be WA...Is there anything wrong?There is no difference when I try to differentiate the results by droppin...
Programming a 2D random walk I entered it on Google Colab, but the following error appears.Please tell me how to fix it.error messages:File<ipython-input-3-95051bfc0730>, line 8 int main() ^Sy...
Do you want to improve this question?Edit your post to clarify the issue you are trying to resolve by adding details.Closed to 9 months ago9 months agoPlease tell me how to display a specific line fro...
What are the specific benefits of double being an 8-byte alignment with the -malign-double option?
We are developing a program for the task of measuring CPU time.I compiled the two programs below and ran them.Normal compilation is fine, but if you compile and run with the optimization option -O2 in...
I'd like to write down the results of the rock-paper-scissors match (number of wins, number of losses, number of draws) in a file and read the total, but the total number of wins will be output, and t...
Created sln file from folder with CMakeLists.txt.Here's a summary of the contents:CMakeLists.txtcmake_minimum_required (VERSION 3.0.0)project(777VERSION 1.0.0)include_directories (includes)add_executa...
The following line segment drawing algorithm does not seem to work properly unless the absolute value of slope a is less than or equal to 1. Please tell me why and how to respond to any slope.void dra...
I read Hidenori GOTO's answer to the following questions.It was explained that the service was like this.What is the role of the service in the MVC modelHowever, if you look at this much, you can't te...
« | - 7 - | » |
© 2024 OneMinuteCode. All rights reserved.