.campion
conectare | înregistrare | căutare
Pagina principală » Surse trimise » Sursa 640141

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 640141
Concurent: Lucian-Ștefan Sima (Lucian_info_25)Progres: evaluare completă
Problemă: lgdrumPunctaj exemplu: 0
Limbaj: cppPunctaj final: 0
Dată: 4 dec 2025, 00:04
Mesaj evaluator:
lgdrum.cpp: In function 'unsigned int nameCode(const std::string&)': lgdrum.cpp:6: error: expected initializer before ':' token lgdrum.cpp:7: error: expected primary-expression before 'return' lgdrum.cpp:7: error: expected ';' before 'return' lgdrum.cpp:7: error: expected primary-expression before 'return' lgdrum.cpp:7: error: expected ')' before 'return' lgdrum.cpp: In function 'int main()': lgdrum.cpp:12: error: 'nullptr' was not declared in this scope lgdrum.cpp:23: warning: '>>' operator will be treated as two right angle brackets in C++0x lgdrum.cpp:23: warning: suggest parentheses around '>>' expression lgdrum.cpp:23: error: 'n' cannot appear in a constant-expression lgdrum.cpp:23: error: 'm' cannot appear in a constant-expression lgdrum.cpp:23: error: a function call cannot appear in a constant-expression lgdrum.cpp:23: error: '>>' should be '> >' within a nested template argument list lgdrum.cpp:28: error: '>>' should be '> >' within a nested template argument list lgdrum.cpp:33: error: '>>' should be '> >' within a nested template argument list lgdrum.cpp:34: error: '>>' should be '> >' within a nested template argument list lgdrum.cpp:40: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x lgdrum.cpp:40: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x lgdrum.cpp:47: warning: 'auto' will change meaning in C++0x; please remove it lgdrum.cpp:47: error: expected unqualified-id before '[' token lgdrum.cpp:49: error: name lookup of 'i' changed for ISO 'for' scoping lgdrum.cpp:49: note: (if you use '-fpermissive' G++ will accept your code) lgdrum.cpp:49: error: 'j' was not declared in this scope lgdrum.cpp:55: error: 'j' was not declared in this scope lgdrum.cpp:61: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x lgdrum.cpp:61: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x lgdrum.cpp:14: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result lgdrum.cpp:15: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
ajutor