Borderou de evaluare (job #106154)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Paznici (clasele 11-12) | Compilator | cpp |
Rundă | 2015oliscoala1112 | Status | evaluat |
Dată | 16 ian. 2015 15:49:52 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:21:1: error: reference to ‘prev’ is ambiguous
user.cpp:10:8: error: candidates are: struct prev
/usr/include/c++/4.6/bits/stl_iterator_base_funcs.h:191:5: error: template<class _BidirectionalIterator> _BidirectionalIterator std::prev(_BidirectionalIterator, typename std::iterator_traits<_Iter>::difference_type)
user.cpp:21:1: error: ‘prev’ does not name a type
user.cpp: In function ‘int main()’:
user.cpp:32:60: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat]
user.cpp:32:60: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat]
user.cpp:41:12: error: ‘value’ was not declared in this scope
user.cpp:63:12: error: ‘value’ was not declared in this scope
user.cpp:26:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:27:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:28:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:29:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:32:61: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]