Požemis

Taškai: 0

Compile: FAIL

pozemis.cpp: In function ‘int main()’: pozemis.cpp:90:11: error: request for member ‘count’ in ‘d.std::map<_Key, _Tp, _Compare, _Alloc>::operator[]<int, int, std::less<int>, std::allocator<std::pair<const int, int> > >(en)’, which is of non-class type ‘std::map<int, int>::mapped_type {aka int}’ if(d[en].count()) printf("%d\n", d[en]); ^ pozemis.cpp:35:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d %d %d", &l, &r, &c); ^ pozemis.cpp:40:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %1c", &ch); ^

nr.resulttimemessage