From ec901c74846c06702dbc8a1db028e6d3d04da655 Mon Sep 17 00:00:00 2001 From: IS Oguro <62152558+IngridOguro@users.noreply.github.com> Date: Sat, 13 Apr 2024 23:12:35 -0300 Subject: [PATCH] Update beecrowd-tips.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Entradas em uma linha versão curta --- notas/beecrowd-tips.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/notas/beecrowd-tips.md b/notas/beecrowd-tips.md index 06160ea..a72be1c 100644 --- a/notas/beecrowd-tips.md +++ b/notas/beecrowd-tips.md @@ -20,10 +20,9 @@ fazendo mais curto: ```cs string a, b = Console.ReadLine().Split(' '); -// dados = ['2', '3'] -int a = int.Parse(dados[0]); // int a = 2 -int b = int.Parse(dados[1]); // int b = 3 +int a = int.Parse(a); // int a = 2 +int b = int.Parse(b); // int b = 3 ``` ## Posicoes anteriores e posteriores em vetor