Borderou de evaluare (job #2221851)

Utilizator inquisitorAnders inquisitor Data 16 iulie 2018 00:00:26
Problema Arbori indexati binar Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:1:1: error: ‘include’ does not name a type include <stdio.h> ^~~~~~~ user.cpp: In function ‘char getChr()’: user.cpp:17:34: error: ‘stdin’ was not declared in this scope fread(buff, 1, BUFFSIZE, stdin); ^~~~~ user.cpp:17:39: error: ‘fread’ was not declared in this scope fread(buff, 1, BUFFSIZE, stdin); ^ user.cpp: In function ‘int main()’: user.cpp:56:28: error: ‘stdin’ was not declared in this scope freopen("aib.in", "r", stdin); ^~~~~ user.cpp:56:33: error: ‘freopen’ was not declared in this scope freopen("aib.in", "r", stdin); ^ user.cpp:57:29: error: ‘stdout’ was not declared in this scope freopen("aib.out", "w", stdout); ^~~~~~ user.cpp:86:35: error: ‘printf’ was not declared in this scope printf("%d\n", pos); ^ user.cpp:88:26: error: ‘puts’ was not declared in this scope puts("-1"); ^ user.cpp:96:65: error: ‘printf’ was not declared in this scope printf("%d\n", fenwickSum(y) - fenwickSum(x - 1)); ^ user.cpp:99:17: error: ‘fclose’ was not declared in this scope fclose(stdin); ^

Ceva nu functioneaza?