Posts by Thayná • 111 points
4 posts
-
1
votes0
answers68
viewsQ: Error when compiling HM (Standard HEVC) software on linux virtual machine
I followed the following steps: 1 - I created a Linux virtual machine on my Mac 2- I downloaded the HM software from the site (https://hevc.hhi.fraunhofer.de/svn/svn_HEVCSoftware/tags/HM-16.0/) 3 -…
-
0
votes1
answer136
viewsQ: How not to show in the output the null positions of a vector?
How do I prevent those gigantic numbers referring to the empty positions of my vector from appearing? My code: int main(int argc, char** argv) { double notas[10]; double soma = 0, media = 0; int i,…
-
1
votes1
answer1306
viewsQ: Exercise URI 1005: Code correction C (simple average)
QUESTION: When I typed my code in the URI it returned "Wrong Answer (60%)". Below is the description of the exercise and the code entered. What is missing? What code? My code: double A, B, MEDIA;…
-
9
votes1
answer4004
viewsQ: How to limit reading decimals (scanf) of a double variable?
The exercise asks the readings of the variables double are limited to only one decimal place each of them. I tried to put "%.1lf" in the scanf, as we used in the printf, but it didn’t work. How…