Borderou de evaluare (job #1268832)
Utilizator | Data | 21 noiembrie 2014 15:59:45 | |
---|---|---|---|
Problema | Beri | Status | done |
Runda | Teme Pregatire ACM Unibuc 2014, Anul I | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:1:1: error: ‘nclude’ does not name a type
nclude <fstream>
^
user.cpp:11:1: error: ‘ifstream’ does not name a type
ifstream fin(InFile);
^
user.cpp:12:1: error: ‘ofstream’ does not name a type
ofstream fout(OutFile);
^
user.cpp: In function ‘int partition(int, int)’:
user.cpp:38:29: error: ‘swap’ was not declared in this scope
swap(V[st],V[dr]);
^
In file included from /usr/include/c++/4.8/iosfwd:40:0,
from /usr/include/c++/4.8/ios:38,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from user.cpp:64:
/usr/include/c++/4.8/bits/postypes.h: At global scope:
/usr/include/c++/4.8/bits/postypes.h:98:11: error: ‘ptrdiff_t’ does not name a type
typedef ptrdiff_t streamsize; // Signed integral type
^
In file included from /usr/include/c++/4.8/exception:152:0,
from /usr/include/c++/4.8/ios:39,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from user.cpp:64:
/usr/include/c++/4.8/bits/exception_ptr.h:95:30: error: field ‘nullptr_t’ has incomplete type
exception_ptr(nullptr_t) noexcept
^
/usr/include/c++/4.8/bits/exception_ptr.h:95:30: error: expected ‘;’ at end of member declaration
/usr/include/c++/4.8/bits/exception_ptr.h:95:32: error: expected unqualified-id before ‘noexcept’
exception_ptr(nullptr_t) noexcept
^
In file included from /usr/include/c++/4.8/bits/move.h:57:0,
from /usr/include/c++/4.8/bits/stl_pair.h:59,
from /usr/include/c++/4.8/bits/stl_algobase.h:64,
from /usr/include/c++/4.8/bits/char_traits.h:39,
from /usr/include/c++/4.8/ios:40,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from user.cpp:64:
/usr/include/c++/4.8/type_traits:285:31: error: ‘std::size_t’ has not been declared
template<typename _Tp, std::size_t _Size>
^
/usr/include/c++/4.8/type_traits:419:34: error: ‘nullptr_t’ is not a member of ‘std’
struct __is_nullptr_t_helper<std::nullptr_t>
^
/usr/include/c++/4.8/type_traits:419:34: error: ‘nullptr_t’ is not a member of ‘std’
/usr/include/c++/4.8/type_traits:419:48: error: template argument 1 is invalid
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !