Borderou de evaluare (job #1562870)
Utilizator | Data | 5 ianuarie 2016 15:45:56 | |
---|---|---|---|
Problema | Ciurul lui Eratosthenes | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int solve(int)’:
user.cpp:15:16: error: ‘sol’ was not declared in this scope
++ sol ;
^
user.cpp:20:12: error: ‘sol’ was not declared in this scope
return sol ;
^
user.cpp: In function ‘int main()’:
user.cpp:26:5: error: ‘cin’ was not declared in this scope
cin >> n ;
^
user.cpp:27:5: error: ‘cout’ was not declared in this scope
cout << solve ( n ) ;
^
user.cpp: In function ‘int solve(int)’:
user.cpp:21:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !