Posts by MacVinny • 16 points
2 posts
-
0
votes1
answer291
viewsA: I can’t get into "EOF"
In the URI (Online Judge), EOF (end-of-file) refers to the end of the file that will be used in the test to verify the code. In this case, we have different ways to read the input (istream/iostream)…
-
0
votes1
answer164
viewsA: Multiplication between two vectors for a final sum in Java
Vector multiplication: int ixj[] = new int[5]; //Declaração do vetor para armazenar multiplicação dos vetores. for (int k = 0; k < 5; k++){ //5 é o tamanho da alocação do vetor. ixj[k] = i[k] *…