Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tareas/.build/prueba.aux
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
\relax
\gdef \@abspage@last{1}
16 changes: 16 additions & 0 deletions tareas/.build/prueba.fdb_latexmk
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Fdb version 4
["pdflatex"] 1771670660.19562 "d:/ProramacionTAREAS/F12-Programacion/tareas/prueba.tex" ".build/prueba.pdf" "prueba" 1771670660.68849 0
".build/prueba.aux" 1771670660 32 3985256e7290058c681f74d7a3565a19 "pdflatex"
"C:/Users/brand/AppData/Local/MiKTeX/fonts/map/pdftex/pdftex.map" 1771660992 80909 eab91d9745dd2edfd62a31d53cd5fe15 ""
"C:/Users/brand/AppData/Local/MiKTeX/miktex/data/le/pdftex/pdflatex.fmt" 1771661012 13333903 245a90a68f8ad05fc903bf9796128d8a ""
"C:/Users/brand/AppData/Local/Programs/MiKTeX/fonts/type1/public/amsfonts/cm/cmr10.pfb" 1247596667 35752 024fb6c41858982481f6968b5fc26508 ""
"C:/Users/brand/AppData/Local/Programs/MiKTeX/tex/latex/base/article.cls" 1761900684 20144 b966087dda3b194755eb460d32e2ef75 ""
"C:/Users/brand/AppData/Local/Programs/MiKTeX/tex/latex/base/size10.clo" 1761900684 8448 686612a86f0e04f41ea577f5ec7e83d8 ""
"C:/Users/brand/AppData/Local/Programs/MiKTeX/tex/latex/l3backend/l3backend-pdftex.def" 1761202581 30662 bfd6e864f4ffc5018b0e2b6260c3181c ""
"d:/ProramacionTAREAS/F12-Programacion/tareas/prueba.tex" 1771670659 81 5741b06045befdd813b475ddb660b2e5 ""
"prueba.tex" 1771670659 81 5741b06045befdd813b475ddb660b2e5 ""
(generated)
".build/prueba.aux"
".build/prueba.log"
".build/prueba.pdf"
(rewritten before read)
20 changes: 20 additions & 0 deletions tareas/.build/prueba.fls
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
PWD d:\ProramacionTAREAS\F12-Programacion\tareas
INPUT C:\Users\brand\AppData\Local\MiKTeX\miktex\data\le\pdftex\pdflatex.fmt
INPUT d:\ProramacionTAREAS\F12-Programacion\tareas\prueba.tex
OUTPUT d:\ProramacionTAREAS\F12-Programacion\tareas\.build\prueba.log
INPUT C:\Users\brand\AppData\Local\Programs\MiKTeX\tex\latex\base\article.cls
INPUT C:\Users\brand\AppData\Local\Programs\MiKTeX\tex\latex\base\article.cls
INPUT C:\Users\brand\AppData\Local\Programs\MiKTeX\tex\latex\base\size10.clo
INPUT C:\Users\brand\AppData\Local\Programs\MiKTeX\tex\latex\base\size10.clo
INPUT C:\Users\brand\AppData\Local\Programs\MiKTeX\tex\latex\base\size10.clo
INPUT C:\Users\brand\AppData\Local\Programs\MiKTeX\tex\latex\l3backend\l3backend-pdftex.def
INPUT C:\Users\brand\AppData\Local\Programs\MiKTeX\tex\latex\l3backend\l3backend-pdftex.def
INPUT d:\ProramacionTAREAS\F12-Programacion\tareas\.build\prueba.aux
INPUT d:\ProramacionTAREAS\F12-Programacion\tareas\.build\prueba.aux
INPUT d:\ProramacionTAREAS\F12-Programacion\tareas\.build\prueba.aux
OUTPUT d:\ProramacionTAREAS\F12-Programacion\tareas\.build\prueba.aux
OUTPUT d:\ProramacionTAREAS\F12-Programacion\tareas\.build\prueba.pdf
INPUT C:\Users\brand\AppData\Local\MiKTeX\fonts\map\pdftex\pdftex.map
INPUT d:\ProramacionTAREAS\F12-Programacion\tareas\.build\prueba.aux
INPUT C:\Users\brand\AppData\Local\Programs\MiKTeX\fonts\type1\public\amsfonts\cm\cmr10.pfb
INPUT C:\Users\brand\AppData\Local\Programs\MiKTeX\fonts\type1\public\amsfonts\cm\cmr10.pfb
73 changes: 73 additions & 0 deletions tareas/.build/prueba.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
This is pdfTeX, Version 3.141592653-2.6-1.40.29 (MiKTeX 26.1) (preloaded format=pdflatex 2026.2.21) 21 FEB 2026 04:44
entering extended mode
restricted \write18 enabled.
file:line:error style messages enabled.
%&-line parsing enabled.
**d:/ProramacionTAREAS/F12-Programacion/tareas/prueba.tex
(d:/ProramacionTAREAS/F12-Programacion/tareas/prueba.tex
LaTeX2e <2025-11-01>
L3 programming layer <2026-01-19>
(C:\Users\brand\AppData\Local\Programs\MiKTeX\tex/latex/base\article.cls
Document Class: article 2025/01/22 v1.4n Standard LaTeX document class
(C:\Users\brand\AppData\Local\Programs\MiKTeX\tex/latex/base\size10.clo
File: size10.clo 2025/01/22 v1.4n Standard LaTeX file (size option)
)
\c@part=\count275
\c@section=\count276
\c@subsection=\count277
\c@subsubsection=\count278
\c@paragraph=\count279
\c@subparagraph=\count280
\c@figure=\count281
\c@table=\count282
\abovecaptionskip=\skip49
\belowcaptionskip=\skip50
\bibindent=\dimen148
) (C:\Users\brand\AppData\Local\Programs\MiKTeX\tex/latex/l3backend\l3backend-pdftex.def
File: l3backend-pdftex.def 2025-10-09 L3 backend support: PDF output (pdfTeX)
\l__color_backend_stack_int=\count283
)

LaTeX Warning: Unused global option(s):
[options].

(d:\ProramacionTAREAS\F12-Programacion\tareas\.build\prueba.aux)
\openout1 = `prueba.aux'.

LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
[1

{C:/Users/brand/AppData/Local/MiKTeX/fonts/map/pdftex/pdftex.map}] (d:\ProramacionTAREAS\F12-Programacion\tareas\.build\prueba.aux)
***********
LaTeX2e <2025-11-01>
L3 programming layer <2026-01-19>
***********
)
Here is how much of TeX's memory you used:
430 strings out of 467865
8506 string characters out of 5418304
433759 words of memory out of 5000000
29395 multiletter control sequences out of 15000+600000
627721 words of font info for 40 fonts, out of 8000000 for 9000
1141 hyphenation exceptions out of 8191
35i,5n,38p,192b,126s stack positions out of 10000i,1000n,20000p,200000b,200000s
<C:/Users/brand/AppData/Local/Programs/MiKTeX/fonts/type1/public/amsfonts/cm/cmr10.pfb>
Output written on d:\ProramacionTAREAS\F12-Programacion\tareas\.build\prueba.pdf (1 page, 13629 bytes).
PDF statistics:
11 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)

Binary file added tareas/.build/prueba.pdf
Binary file not shown.
Binary file added tareas/.build/prueba.synctex.gz
Binary file not shown.
5 changes: 5 additions & 0 deletions tareas/prueba.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
\documentclass[options]{article}

\begin{document}
hola mundo!
\end{document}
42 changes: 42 additions & 0 deletions tareas/tarea_3/busqueda_dos_en_dos.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#include <iostream>
#include <vector>
using namespace std;
int busquedaDosEnDos(const vector<int>& lista, int objetivo) {
int n = lista.size();
for (int i = 0; i < n; i += 2) {
if (lista[i] == objetivo) {
return i;
}
if (i + 1 < n && lista[i + 1] == objetivo) {
return i + 1;
}
}
return -1;
}
int main() {
vector<int> lista;
int n, x;
cout << "ingrese la cantidad de elementos: ";
cin >> n;
cout << "ingrese los elementos:\n";
for (int i = 0; i < n; i++) {
cin >> x;
lista.push_back(x);
}
char continuar = 's';
while (continuar == 's' || continuar == 'S') {
int objetivo;
cout << "\ningrese el numero a buscar: ";
cin >> objetivo;
int resultado = busquedaDosEnDos(lista, objetivo);
if (resultado != -1) {
cout << "objetivo encontrado en : " << resultado << endl;
} else {
cout << "objetivo no existe" << endl;
}

cout << "\n desea buscar otro numero? (s/n): ";
cin >> continuar;
}
return 0;
}
Binary file added tareas/tarea_3/busqueda_dos_en_dos.exe
Binary file not shown.
27 changes: 27 additions & 0 deletions tareas/tarea_3/contar_vocales.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#include <iostream>
using namespace std;
int contarVocales(string texto) {
int contar = 0;
for (char x : texto) {
x = tolower(x);
if (x == 'a' || x == 'e' || x == 'i' || x == 'o' || x == 'u') {
contar++;
}
}
return contar;
}
int main() {
string oracion;
char continuar;
do {
cout << "ingrese una oracion: ";
getline(cin, oracion);
int total = contarVocales(oracion);
cout << "total de vocales: " << total << endl;
cout << "desea ingresar otra oracion? (s/n): ";
cin >> continuar;
cin.ignore();
} while (continuar == 's' || continuar == 'S');
cout << "programa terminado." << endl;
return 0;
}
Binary file added tareas/tarea_3/contar_vocales.exe
Binary file not shown.
29 changes: 29 additions & 0 deletions tareas/tarea_3/numero_primo.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#include <iostream>
using namespace std;
bool esprimo(int x) {
if (x <= 1) return false;
if (x == 2) return true;
for (int i = 2; i * i <= x; i++) {
if (x % i == 0) {
return false;
}
}
return true;
}
int main() {
int numero;
char continuar;
do {
cout << "ingrese un numero: ";
cin >> numero;
if (esprimo(numero)) {
cout << "primo" << endl;
} else {
cout << "no primo" << endl;
}
cout << "desea ingresar otro numero? (s/n): ";
cin >> continuar;
} while (continuar == 's' || continuar == 'S');
cout << "programa terminado." << endl;
return 0;
}
Binary file added tareas/tarea_3/numero_primo.exe
Binary file not shown.
21 changes: 21 additions & 0 deletions tareas/tarea_3/suma_digitos.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#include <iostream>
#include <cstdlib>
using namespace std;
int main() {
char continuar;
do {
int x, suma = 0;
cout << " ingresa un numero entero: ";
cin >> x;
x = abs(x);
while (x > 0) {
suma += x % 10;
x /= 10;
}
cout << "La suma de los digitos es: " << suma << endl;
cout << "deseas volverlo a intentar? (s/n): ";
cin >> continuar;
} while (continuar == 's' || continuar == 'S');
cout << "programa terminado." << endl;
return 0;
}
Binary file added tareas/tarea_3/suma_digitos.exe
Binary file not shown.