Borderou de evaluare (job #2413733)

Utilizator mihnea.anghelMihnea Anghel mihnea.anghel Data 23 aprilie 2019 17:47:48
Problema K1 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:7:1: error: 'Long' does not name a type Long long n, x, i, l1, l2, sol, crt1, crt2, v[1000009], w[1000009], pas; ^~~~ main.cpp: In function 'int main()': main.cpp:11:5: error: 'n' was not declared in this scope f>>n; ^ main.cpp:12:6: error: 'i' was not declared in this scope for(i=1; i<=n;i++) f>>v[i]; ^ main.cpp:12:24: error: 'v' was not declared in this scope for(i=1; i<=n;i++) f>>v[i]; ^ main.cpp:13:8: error: 'v' was not declared in this scope sort (v+1, v+n+1); ^ main.cpp:15:2: error: 'w' was not declared in this scope w[1] = v[1] + v[2]; sol=w[1]; ^ main.cpp:15:22: error: 'sol' was not declared in this scope w[1] = v[1] + v[2]; sol=w[1]; ^~~ main.cpp:16:2: error: 'l1' was not declared in this scope l1=n; l2=1; ^~ main.cpp:16:8: error: 'l2' was not declared in this scope l1=n; l2=1; ^~ main.cpp:17:2: error: 'crt1' was not declared in this scope crt1=3; crt2=1; ^~~~ main.cpp:17:10: error: 'crt2' was not declared in this scope crt1=3; crt2=1; ^~~~ main.cpp:19:7: error: 'pas' was not declared in this scope for( pas=2; pas < n; pas++){ ^~~ Non zero exit status: 1

Ceva nu functioneaza?