Borderou de evaluare (job #1325666)
Utilizator | Data | 24 ianuarie 2015 11:32:32 | |
---|---|---|---|
Problema | Filme | Status | done |
Runda | Arhiva Monthly | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:3:2: error: invalid preprocessing directive #includde
#includde <algorithm>
^
user.cpp:9:25: warning: missing terminating " character [enabled by default]
ifstream f("date.in"")
^
user.cpp:9:5: error: missing terminating " character
ifstream f("date.in"")
^
user.cpp:6:1: error: expected initializer before ‘using’
using namespace std;
^
user.cpp: In function ‘int main()’:
user.cpp:9:5: error: ‘ifstream’ was not declared in this scope
ifstream f("date.in"")
^
user.cpp:9:5: note: suggested alternative:
In file included from /usr/include/c++/4.8/ios:38:0,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from user.cpp:1:
/usr/include/c++/4.8/iosfwd:157:34: note: ‘std::ifstream’
typedef basic_ifstream<char> ifstream;
^
user.cpp:9:14: error: expected ‘;’ before ‘f’
ifstream f("date.in"")
^
user.cpp:12:5: error: ‘fin’ was not declared in this scope
fin>>n;
^
user.cpp:12:10: error: ‘n’ was not declared in this scope
fin>>n;
^
user.cpp:13:9: error: ‘i’ was not declared in this scope
for(i=1;i<=n;i++){
^
user.cpp:14:10: error: ‘a’ was not declared in this scope
fin>>a[i];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !