Borderou de evaluare (job #2639749)
Utilizator | Data | 3 august 2020 17:40:11 | |
---|---|---|---|
Problema | Ciurul lui Eratosthenes | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:10:13: error: too few arguments to function 'FILE* freopen(const char*, const char*, FILE*)'
freopen("s")
^
In file included from /usr/include/c++/6/cstdio:42:0,
from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:46,
from main.cpp:1:
/usr/include/stdio.h:278:14: note: declared here
extern FILE *freopen (const char *__restrict __filename,
^~~~~~~
main.cpp:14:12: error: 'n' was not declared in this scope
fin >> n;
^
main.cpp:27:7: error: 'num' was not declared in this scope
num++;
^~~
main.cpp:28:13: error: 'num' was not declared in this scope
fout << num;
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !