Požemis
- [1] 2019-01-26 12:35 (92.3)
- [2] 2019-01-26 12:36 (0)
- [3] 2019-01-26 12:36 (100)
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. | result | time | message |
---|