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
| <?php /* launch it from apache, but it's cooler if from CLI hahahhh */ | |
| error_reporting(0); | |
| set_time_limit(0); | |
| ini_set("default_socket_timeout",5); | |
| $host = $_POST['host']; | |
| $port = $_POST['port']; | |
| $path = $_POST['path']; | |
| $dirs = $_POST['dirs']; |
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
| //by rcaldasmd | |
| #include <stdio.h> | |
| #include <math.h> | |
| int main() | |
| { | |
| int cnt = 0, //contador de uso geral | |
| bsz = 0, //numero de elementos no array buff excluindo o null byte | |
| adt = 0; //resultado da soma dos elementos |
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
| /******************************************* | |
| Processo e Desenvolvimento de Software | |
| Aluno: _rcaldasmd_ | |
| gcc test1.c -o test1 -lm;./test1 | |
| (deve de casa.. nao vale nada.. nadinha msm) | |
| *******************************************/ | |
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
| /******************************************* | |
| Processo e Desenvolvimento de Software | |
| Aluno: _rcaldasmd_ | |
| gcc test1.c -o test1 -lm;./test1 | |
| (deve de casa.. nao vale nada.. nadinha msm) | |
| *******************************************/ | |
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
| /******************************************* | |
| Processo e Desenvolvimento de Software | |
| Aluno: _rcaldasmd_ | |
| gcc test1.c -o test1 -lm;./test1 | |
| (deve de casa.. nao vale nada.. nadinha msm) | |
| *******************************************/ | |
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
| /******************************************* | |
| Processo e Desenvolvimento de Software | |
| Aluno: rodrigo caldas de moura duarte | |
| gcc test1.c -o test1 -lm;./test1 | |
| *******************************************/ | |
| #include <stdlib.h> | |
| #include <stdio.h> | |
| #include <math.h> |
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
| /* ~rcaldasmd~ */ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| int main(int argc, char **argv) | |
| { | |
| if(argc != 3){ | |
| fprintf(stderr,"ex: %s 9 7\n",argv[0]); | |
| return -1; |
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
| /* ~rcaldasmd~ */ | |
| #include <stdio.h> | |
| int main() | |
| { | |
| int first = 1, current = 1, cnt; | |
| for(cnt = 1;cnt <= 5;cnt++) | |
| current = (first + current) * current; |
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
| /* Estrutura de Dados e Algoritmos 1 | |
| Prof. Marcelo Vasconcelos - GEC2010N | |
| Aluno: Rodrigo Caldas de Moura Duarte */ | |
| #include "stdio.h" | |
| #include "stdlib.h" | |
| int prmet(int z) | |
| { |
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
| /* Estrutura de Dados e Algoritmos 1 | |
| Prof. Marcelo Vasconcelos - GEC2010N | |
| Aluno: Rodrigo Caldas de Moura Duarte */ | |
| #include "stdio.h" | |
| #include "stdlib.h" | |
| int prmet(int z, int a, int m, int i) | |
| { |