Borderou de evaluare (job #2228538)
Utilizator | Data | 4 august 2018 10:15:23 | |
---|---|---|---|
Problema | Ciurul lui Eratosthenes | 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 <cstdio>
^~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:9:30: error: ‘stdin’ was not declared in this scope
freopen ("ciur.in", "r", stdin);
^~~~~
user.cpp:9:35: error: ‘freopen’ was not declared in this scope
freopen ("ciur.in", "r", stdin);
^
user.cpp:10:31: error: ‘stdout’ was not declared in this scope
freopen ("ciur.out", "w", stdout);
^~~~~~
user.cpp:13:20: error: ‘scanf’ was not declared in this scope
scanf ("%d", &n);
^
user.cpp:28:23: error: ‘printf’ was not declared in this scope
printf ("%d\n", nr);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !