This file contains 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 ZeusAFK - Opcoders Team | |
/* | |
ICPC Latin American Regional - 2012 | |
Problem D | |
Different Digits | |
The inhabitatns of Nlogonia are very superstitious. One of their beliefs is that street house numbers tht have repeated digits bring bad luck for the residents. |
This file contains 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
#include "stdafx.h" | |
#include <Windows.h> | |
#include <stdio.h> | |
#include <iostream> | |
#include <stdlib.h> | |
#include <fstream> | |
#include <strsafe.h> | |
using namespace std; |
This file contains 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 | |
if (!defined('ZEUSAFK') || ZEUSAFK != 1) | |
die(); | |
define('_PROXY_VERSION', '1.0.3'); | |
define('_CWD', dirname(__FILE__)); | |
// Set global variables | |
$_protocols = array('http', 'ftp'); |
This file contains 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
foreach( $V4cb73b6b as $V89735695 => $V68920240 ) | |
{$V98bf7d8c=ereg_replace("([^a-zA-Z0-9_$])(".$V89735695.")([^a-zA-Z0-9_])","1".$V68920240."3", | |
$V98bf7d8c);}}if ($V4dd4189a) {$V98bf7d8c=ereg_replace("[ ]*", "", | |
$V98bf7d8c);}if ($Va7a918c1) {$V98bf7d8c=ereg_replace("[ ]{1,2}//[^]*", "", | |
$V98bf7d8c);$V98bf7d8c=ereg_replace("[ ]*//[^]*", "", $V98bf7d8c);}if | |
($Vcb30d890) {$V98bf7d8c=ereg_replace("([{};:])[ ]*", "1", | |
$V98bf7d8c);}$V98bf7d8c=ereg_replace("{2,20}", "", $V98bf7d8c); | |
$Vce55aa86=fopen($V693ed254, "w");$V809d8809=fwrite($Vce55aa86, | |
$V98bf7d8c);fclose | |
($Vce55aa86);clearstatcache();$GLOBALS["V048f0047"]+=filesize($V693ed254);} |
This file contains 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 | |
error_reporting(E_ALL); | |
session_start(); | |
define('_PROXY_VERSION', '1.0.3'); | |
define('_CWD', dirname(__FILE__)); | |
This file contains 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
<html> | |
<head> | |
<link href='style.css' rel='stylesheet' type='text/css'/> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.js"></script> | |
<script type='text/javascript'> | |
$(document).ready(function(){ | |
$('select').change(function(){ | |
$("link").attr('href', 'css/' + $("select[name='plantilla']").val() + '.css'); | |
}); | |
}); |
This file contains 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
import java.util.Scanner; | |
public class clase2 { | |
static Scanner in = new Scanner(System.in); | |
public static void main(String[] args) { | |
println("Introduzca la cadena 1: "); | |
String c1 = in.next(); |
This file contains 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
bool down; | |
int[] lastPoint = new int[] { 0, 0 }; | |
int totalPoints = 0; | |
private void DrawPoints(ArrayList Points, int top, int left) | |
{ | |
int x = 0; | |
while (Points.Count > 0) | |
{ | |
if (GetAsyncKeyState(32) != 0) { | |
MouseUp(); |
This file contains 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
Module Module1 | |
' By ZeusAFK | |
Sub Main() | |
Dim a, b As Double | |
Console.WriteLine("Ingrese el primer numero:") | |
a = Console.ReadLine() | |
Console.WriteLine("Ingrese el segundo numero:") | |
b = Console.ReadLine() | |
If (a > b) Then | |
Console.WriteLine("El mayor es " + a.ToString()) |
This file contains 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 | |
// ZeusAFK 2013-10-13 22:34 PM. | |
// Aqui depende de como estes obteniendo los registros de tu base de datos, | |
// en este ejemplo solo uso Id y Nombre en un arreglo predefinido. | |
$alumnos = array( | |
[0,'Jorge'], | |
[1,'Fernando'], | |
[2,'Pedro'], |