Cod sursa(job #2794715)

Utilizator schizofrenieShallan Davar schizofrenie Data 5 noiembrie 2021 12:27:26
Problema Diametrul unui arbore Scor 0
Compilator cpp-64 Status done
Runda Arhiva educationala Marime 0.22 kb
#include <stdio.h>
#include <array>

#define MAXN 1000000

std::array<int, MAXN> v;


int main () {
	int n = MAXN;
	int i;
	volatile int x;

	for (auto val: v) {
		for (int i = 0; i != 1000; ++ i)
			x = i;
	}

	return 0;
}