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

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 532601
Concurent: Costin Oncescu (geniucos)Progres: evaluare completă
Problemă: cartitePunctaj exemplu: 0
Limbaj: cppPunctaj final: 0
Dată: 7 mar 2017, 21:13
Mesaj evaluator:
cartite.cpp: In function 'void euler(int)': cartite.cpp:16: warning: 'auto' will change meaning in C++0x; please remove it cartite.cpp:16: error: ISO C++ forbids declaration of 'it' with no type cartite.cpp:16: error: cannot convert '__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >' to 'int' in initialization cartite.cpp:16: error: no match for 'operator!=' in 'it != v[nod].std::vector<_Tp, _Alloc>::end [with _Tp = int, _Alloc = std::allocator<int>]()' cartite.cpp:17: error: invalid type argument of 'unary *' cartite.cpp:18: error: invalid type argument of 'unary *' cartite.cpp:18: error: invalid type argument of 'unary *' cartite.cpp:18: error: invalid type argument of 'unary *' cartite.cpp: In function 'int code(int, int)': cartite.cpp:22: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x cartite.cpp:22: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x cartite.cpp: In function 'void block(int, int)': cartite.cpp:25: warning: suggest explicit braces to avoid ambiguous 'else' cartite.cpp: In function 'int main()': cartite.cpp:61: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x cartite.cpp:61: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x cartite.cpp:64: warning: 'auto' will change meaning in C++0x; please remove it cartite.cpp:64: error: ISO C++ forbids declaration of 'curr' with no type cartite.cpp:64: error: cannot convert 'std::pair<int, int>' to 'int' in initialization cartite.cpp:66: error: request for member 'first' in 'curr', which is of non-class type 'int' cartite.cpp:66: error: request for member 'second' in 'curr', which is of non-class type 'int' cartite.cpp:69: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x cartite.cpp:69: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x cartite.cpp:94: warning: 'auto' will change meaning in C++0x; please remove it cartite.cpp:94: error: ISO C++ forbids declaration of 'it' with no type cartite.cpp:94: error: cannot convert 'std::reverse_iterator<__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > > >' to 'int' in initialization cartite.cpp:94: error: no match for 'operator!=' in 'it != std::vector<_Tp, _Alloc>::rend() [with _Tp = int, _Alloc = std::allocator<int>]()' cartite.cpp:95: error: invalid type argument of 'unary *' cartite.cpp:95: error: invalid type argument of 'unary *' cartite.cpp:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result cartite.cpp:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result cartite.cpp:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result cartite.cpp:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result cartite.cpp:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result cartite.cpp:42: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result cartite.cpp:46: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result cartite.cpp:54: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result cartite.cpp:58: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result cartite.cpp:79: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result cartite.cpp:83: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
ajutor