Borderou de evaluare (job #2284763)
Utilizator | Data | 17 noiembrie 2018 15:19:33 | |
---|---|---|---|
Problema | Datorii | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void suma(int*)':
main.cpp:6:2: error: 'fin' was not declared in this scope
fin>>k>>l; s=0;
^~~
main.cpp:7:11: warning: statement has no effect [-Wunused-value]
for(k; k<=l;k++)
^
main.cpp:9:3: error: 'fout' was not declared in this scope
fout<<s<<'\n';
^~~~
main.cpp: In function 'int main()':
main.cpp:21:20: error: cannot convert 'long int*' to 'int*' for argument '1' to 'void suma(int*)'
if (j==1) suma(A);
^
main.cpp:15:34: warning: unused variable 's' [-Wunused-variable]
long n, m, A[15000], i, j, k, l,s;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !