Posts by dimitri.marinho • 125 points
4 posts
-
-1
votes1
answer940
viewsQ: (IJ sequence 4) Why is my Python code giving Runtime error in the URI Online Judge?
I managed to run the program on my computer, however, when I submit to the online test cases it accuses 'Runtime error' and I am not able to circumvent the error. The problem is (Sequence IJ 4), the…
-
5
votes1
answer425
viewsQ: What is the Pumping Lemma (or Pumping Lemma) ? And how to apply it?
I was reading by HOPCROFT and had difficulty applying the pumping lemma in a formal way to exercises to prove that a language is not regular. In this case, I refer to the Pumping Motto for regular…
-
0
votes1
answer668
viewsQ: I need help creating the Makefile file
# Baseando-se no link: https://www.embarcados.com.br/introducao-ao-makefile/ all: bancoBPE bancoBPE: main.o gcc -o bancoBPE main.o -Wall -Wextra -Werror -Wpedantic # Não sei direito como compilar…
-
7
votes1
answer2667
viewsQ: How does it work to use a vector of type struct ? (C++)
I would like help to understand how it works to declare a vector of type struct. In the example of the code below I create the struct configcarros and I would like to create a vector of the type of…