Borderou de evaluare (job #359860)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cotoroanța | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 2 mar. 2018 20:10:32 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:12:7: error: expected nested-name-specifier before ‘uint’
user.cpp:12:12: error: expected ‘;’ before ‘=’ token
user.cpp:12:12: error: expected unqualified-id before ‘=’ token
user.cpp:223:50: error: invalid use of ‘this’ at top level
user.cpp:223:50: error: invalid use of ‘this’ at top level
user.cpp: In lambda function:
user.cpp:148:101: error: ‘this’ was not captured for this lambda function
user.cpp:148:104: error: return-statement with a value, in function returning 'void' [-fpermissive]
user.cpp: In lambda function:
user.cpp:165:80: error: ‘this’ was not captured for this lambda function
user.cpp:165:83: error: return-statement with a value, in function returning 'void' [-fpermissive]
user.cpp: At global scope:
user.cpp:237:18: error: expected ‘;’ at end of member declaration
user.cpp:237:20: error: ‘override’ does not name a type
user.cpp: In constructor ‘InputFile::InputFile(const char*)’:
user.cpp:251:37: error: type ‘InputFile’ is not a direct base of ‘InputFile’
user.cpp:251:80: error: no matching function for call to ‘InputDevice::InputDevice()’
user.cpp:251:80: note: candidate is:
user.cpp:39:3: note: InputDevice::InputDevice(const char*, const char*)
user.cpp:39:3: note: candidate expects 2 arguments, 0 provided
user.cpp: At global scope:
user.cpp:257:18: error: expected ‘;’ at end of member declaration
user.cpp:257:20: error: ‘override’ does not name a type
user.cpp:436:58: error: invalid use of ‘this’ at top level
user.cpp:436:58: error: invalid use of ‘this’ at top level
user.cpp:448:32: error: expected ‘;’ at end of member declaration
user.cpp:448:34: error: ‘override’ does not name a type
user.cpp:456:15: error: expected ‘;’ at end of member declaration
user.cpp:456:17: error: ‘override’ does not name a type
user.cpp: In constructor ‘OutputFile::OutputFile(const char*)’:
user.cpp:455:38: error: type ‘OutputFile’ is not a direct base of ‘OutputFile’
user.cpp: At global scope:
user.cpp:462:32: error: expected ‘;’ at end of member declaration
user.cpp:462:34: error: ‘override’ does not name a type
user.cpp:466:17: error: expected ‘;’ at end of member declaration
user.cpp:466:19: error: ‘override’ does not name a type
user.cpp: In member function ‘char InputDevice::skipCharacters(UnaryPredicate) [with UnaryPredicate = InputDevice::read(const char*)::<lambda(char)>]’:
user.cpp:165:84: instantiated from here
user.cpp:126:10: error: could not convert ‘isSkipped.InputDevice::read(const char*)::<lambda(char)>(((int)c))’ from ‘void’ to ‘bool’
user.cpp: In member function ‘char InputDevice::skipCharacters(UnaryPredicate) [with UnaryPredicate = InputDevice::readString(char*, int, const char*)::<lambda(char)>]’:
user.cpp:133:5: instantiated from ‘int InputDevice::readString(char*, int, UnaryPredicate) [with UnaryPredicate = InputDevice::readString(char*, int, const char*)::<lambda(char)>]’
user.cpp:148:105: instantiated from here
user.cpp:126:10: error: could not convert ‘isSkipped.InputDevice::readString(char*, int, const char*)::<lambda(char)>(((int)c))’ from ‘void’ to ‘bool’
In file included from /usr/include/c++/4.6/algorithm:63:0,
from /usr/include/c++/4.6/i686-linux-gnu/./bits/stdc++.h:64,
from user.cpp:1:
/usr/include/c++/4.6/bits/stl_algo.h: In function ‘_RandomAccessIterator std::__find_if(_RandomAccessIterator, _RandomAccessIterator, _Predicate, std::random_access_iterator_tag) [with _RandomAccessIterator = const char*, _Predicate = InputDevice::readString(char*, int, const char*)::<lambda(char)>]’:
/usr/include/c++/4.6/bits/stl_algo.h:4427:41: instantiated from ‘_IIter std::find_if(_IIter, _IIter, _Predicate) [with _IIter = const char*, _Predicate = InputDevice::readString(char*, int, const char*)::<lambda(char)>]’
user.cpp:137:96: instantiated from ‘int InputDevice::readString(char*, int, UnaryPredicate) [with UnaryPredicate = InputDevice::readString(char*, int, const char*)::<lambda(char)>]’
user.cpp:148:105: instantiated from here