АН
Size: a a a
АН
RN
IZ
R
RN
C
AZ
RN
IZ
P
АК
std::exception_ptr
P
std::exception_ptr
ПК
A
const int NUM_LEDS = 24;
void loop() {
static int *heap = new int[NUM_LEDS];
for (int i = 0; i < NUM_LEDS; i++) {
heap[i] = rand() % 10;
}
for (int i = 0; i < NUM_LEDS; i++) {
cout << heap[i] << endl;
}
cout << " +++++++++++++ " << endl;
//delete [] heap;
}
int main() {
while(1) {
loop();
sleep(1);
}
}
Е
const int NUM_LEDS = 24;
void loop() {
static int *heap = new int[NUM_LEDS];
for (int i = 0; i < NUM_LEDS; i++) {
heap[i] = rand() % 10;
}
for (int i = 0; i < NUM_LEDS; i++) {
cout << heap[i] << endl;
}
cout << " +++++++++++++ " << endl;
//delete [] heap;
}
int main() {
while(1) {
loop();
sleep(1);
}
}
A
Е
Е
A
A