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
700000 | |
1000000 | |
11000000 | |
11400000 | |
11400001 | |
11450001 | |
12350001 | |
12350003 | |
12410003 | |
12410503 |
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 <cstdio> | |
int main(){ | |
printf("hello world\n"); | |
return 0; | |
} |
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 <cstdio> | |
int main(){ | |
int n; | |
while(true){ // varias entradas | |
scanf("%d", &n); // leia o valor de n | |
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 <cstdio> | |
int main(){ | |
int n; | |
while(true){ // varias entradas | |
scanf("%d", &n); // leia o valor de n | |
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.io.*; | |
public class solucao{ | |
public static void main(String[] args)throws IOException{ | |
BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); | |
BufferedWriter out = new BufferedWriter(new OutputStreamWriter(System.out)); | |
int i,qtd,n,c,x; | |
String[] aux; | |
while(true){ | |
n = Integer.parseInt(in.readLine()); | |
if(n == 0)break; |
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 <cstdio> // printf, scanf | |
int secao[100100], A, soma, n; // declare o vetor secao e as variáveis A, soma e n | |
int main(){ | |
scanf("%d", &n); | |
for(int i=1; i<=n; i++){ // leia a entrada | |
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.io.*; | |
public class solucao{ | |
public static void main(String[] args)throws IOException{ | |
BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); | |
BufferedWriter out = new BufferedWriter(new OutputStreamWriter(System.out)); | |
int[] vet = new int[110000]; | |
int i,n,sm1,sm2; | |
String[] aux; | |
n = Integer.parseInt(in.readLine()); | |
aux = in.readLine().split(" "); |
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
// | |
// reduzindo_detalhes_em_um_mapa.cpp | |
// programas2 | |
// | |
// Created by Lucca Siaudzionis on 24/02/13. | |
// Copyright (c) 2013 Luccasiau. All rights reserved. | |
// | |
#include <cstdio> | |
#include <algorithm> |
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 <cstdio> | |
#define MAXN 1010 | |
#define INF 999999999 | |
#define min(A,B) ((A)<(B))?(A):(B) | |
//Globais------------- | |
int n,m; | |
int marcado[MAXN]; |
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 <cstdio> | |
#define MAXN 1010 | |
#define INF 999999999 | |
#define min(A,B) ((A)<(B))?(A):(B) | |
//Globais------------- | |
int n,m; | |
int marcado[MAXN]; |
OlderNewer