This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | |
do | |
url="http://va05-idc.rnp.br/riotransfer/cederj/sistemas_comp/ead05025/Aula_0" | |
aula="/Aula_0" | |
format=".mp4" | |
wget $url$i$aula$i$format | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ordenanomeidade; | |
import java.util.Scanner; | |
public class OrdenaNomeIdade { | |
private static final int TAMANHO = 10; | |
public static void main(String[] args) { | |
String nome[] = new String[TAMANHO]; | |
int idade[] = new int[TAMANHO]; | |
int menu = 0; | |
Scanner teclado = new Scanner(System.in); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun change(lat x) | |
(setq Aux (nth x lat)) | |
(setf (nth x lat) (nth (+ 1 x) lat)) | |
(setf (nth (+ 1 x) lat) Aux)) | |
(defun bubble(lat x y) | |
(if(= x (length lat)) | |
(print lat) | |
(cond((< y (length lat)) | |
(cond((not (null (nth (+ 1 y) lat))) |
NewerOlder