Cod sursa(job #1470736)

Utilizator theprdvtheprdv theprdv Data 12 august 2015 03:01:42
Problema Abc2 Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.66 kb
#define _CRT_SECURE_NO_DEPRECATE
#include <stdlib.h>
#include <stdio.h>
#include <algorithm>
#include <cstring>
#define MAXN 10000005
#define pw (1 << (i - 1))

using namespace std;

int N, P[6][MAXN];
char A[MAXN];

struct entry{
	int no[2], p;
} L[MAXN];

inline bool cmp(const entry x, const entry y){
	return x.no[0] != y.no[0] ? x.no[0] < y.no[0] : x.no[1] < y.no[1];
}

int main(){
	freopen("abc2.in", "r", stdin);
	freopen("abc2.out", "w", stdout);
	gets(A);

	while (1){
		memset(A, '\0', sizeof(A));
		gets(A);
		if (!A[0]) break;
		if (!N) N = strlen(A);
		else if (strlen(A) != N) while (1);
	}

	printf("%d", 100);
	
	return 0;
}