Borderou de evaluare (job #498859)
Utilizator | Data | 7 noiembrie 2010 15:00:19 | |
---|---|---|---|
Problema | Arbore partial de cost minim | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:11: error: 'int index [400005]' redeclared as different kind of symbol
/usr/include/string.h:310: error: previous declaration of 'char* index(const char*, int)'
user.cpp: In function 'void citire()':
user.cpp:21: error: pointer to a function used in arithmetic
user.cpp:21: error: assignment of read-only location
user.cpp:21: error: cannot convert 'int' to 'char* ()(const char*, int)throw ()' in assignment
user.cpp: In function 'void solve()':
user.cpp:40: error: pointer to a function used in arithmetic
user.cpp:40: error: pointer to a function used in arithmetic
user.cpp:40: error: pointer to a function used in arithmetic
user.cpp:42: error: pointer to a function used in arithmetic
user.cpp:42: error: invalid types 'int [400005][char* ()(const char*, int)throw ()]' for array subscript
user.cpp:42: error: pointer to a function used in arithmetic
user.cpp:42: error: invalid types 'int [400005][char* ()(const char*, int)throw ()]' for array subscript
user.cpp:44: error: pointer to a function used in arithmetic
user.cpp:44: error: invalid types 'int [400005][char* ()(const char*, int)throw ()]' for array subscript
user.cpp:45: error: pointer to a function used in arithmetic
user.cpp:45: error: invalid types 'int [400005][char* ()(const char*, int)throw ()]' for array subscript
user.cpp:45: error: pointer to a function used in arithmetic
user.cpp:45: error: invalid types 'int [400005][char* ()(const char*, int)throw ()]' for array subscript
user.cpp:46: error: pointer to a function used in arithmetic
user.cpp:46: error: invalid conversion from 'char* (*)(const char*, int)throw ()' to 'int'
user.cpp:46: error: initializing argument 1 of 'void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = int, _Alloc = std::allocator<int>]'
/usr/include/c++/4.2/bits/stl_algo.h: In function 'void std::sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = char* (*)(const char*, int)throw (), _Compare = bool (*)(int, int)]':
user.cpp:40: instantiated from here
/usr/include/c++/4.2/bits/stl_algo.h:2866: error: ISO C++ forbids using pointer to a function in subtraction
/usr/include/c++/4.2/bits/stl_algo.h: In function 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = char* (*)(const char*, int)throw (), _Size = int, _Compare = bool (*)(int, int)]':
/usr/include/c++/4.2/bits/stl_algo.h:2866: instantiated from 'void std::sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = char* (*)(const char*, int)throw (), _Compare = bool (*)(int, int)]'
user.cpp:40: instantiated from here
/usr/include/c++/4.2/bits/stl_algo.h:2778: error: ISO C++ forbids using pointer to a function in subtraction
/usr/include/c++/4.2/bits/stl_algo.h:2866: instantiated from 'void std::sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = char* (*)(const char*, int)throw (), _Compare = bool (*)(int, int)]'
user.cpp:40: instantiated from here
/usr/include/c++/4.2/bits/stl_algo.h:2795: error: ISO C++ forbids using pointer to a function in subtraction
/usr/include/c++/4.2/bits/stl_algo.h:2795: error: pointer to a function used in arithmetic
/usr/include/c++/4.2/bits/stl_algo.h:2795: error: pointer to a function used in arithmetic
/usr/include/c++/4.2/bits/stl_algo.h:2866: instantiated from 'void std::sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = char* (*)(const char*, int)throw (), _Compare = bool (*)(int, int)]'
user.cpp:40: instantiated from here
/usr/include/c++/4.2/bits/stl_algo.h:2795: error: invalid cast to function type 'char* ()(const char*, int)throw ()'
/usr/include/c++/4.2/bits/stl_algo.h: In function 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = char* (*)(const char*, int)throw (), _Compare = bool (*)(int, int)]':
/usr/include/c++/4.2/bits/stl_algo.h:2868: instantiated from 'void std::sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = char* (*)(const char*, int)throw (), _Compare = bool (*)(int, int)]'
user.cpp:40: instantiated from here
/usr/include/c++/4.2/bits/stl_algo.h:2455: error: ISO C++ forbids using pointer to a function in subtraction
/usr/include/c++/4.2/bits/stl_algo.h:2457: error: pointer to a function used in arithmetic
/usr/include/c++/4.2/bits/stl_algo.h:2868: instantiated from 'void std::sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = char* (*)(const char*, int)throw (), _Compare = bool (*)(int, int)]'
user.cpp:40: instantiated from here
/usr/include/c++/4.2/bits/stl_algo.h:2458: error: pointer to a function used in arithmetic
/usr/include/c++/4.2/bits/stl_algo.h: In function 'const _Tp& std::__median(const _Tp&, const _Tp&, const _Tp&, _Compare) [with _Tp = char* ()(const char*, int)throw (), _Compare = bool (*)(int, int)]':
/usr/include/c++/4.2/bits/stl_algo.h:2795: instantiated from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = char* (*)(const char*, int)throw (), _Size = int, _Compare = bool (*)(int, int)]'
/usr/include/c++/4.2/bits/stl_algo.h:2866: instantiated from 'void std::sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = char* (*)(const char*, int)throw (), _Compare = bool (*)(int, int)]'
user.cpp:40: instantiated from here
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !