Borderou de evaluare (job #2489212)

Utilizator AndreiVisoiuAndrei Visoiu AndreiVisoiu Data 8 noiembrie 2019 08:56:47
Problema Secretul Cifrului Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:12:1: error: expected unqualified-id before 'int' int N, K; ^~~ main.cpp: In function 'void aranj()': main.cpp:15:25: error: 'N' was not declared in this scope for(int i = 1; i <= N; i++) { ^ main.cpp: In function 'int f(int)': main.cpp:29:29: error: 'N' was not declared in this scope for(int d = 1; d <= N && d <= K; d++) ^ main.cpp:29:39: error: 'K' was not declared in this scope for(int d = 1; d <= N && d <= K; d++) ^ main.cpp: In function 'int main()': main.cpp:39:11: error: 'N' was not declared in this scope in >> N >> K; ^ main.cpp:39:16: error: 'K' was not declared in this scope in >> N >> K; ^ Non zero exit status: 1

Ceva nu functioneaza?