/in/foo.cc: In function 'int main()':
/in/foo.cc:37:16: error: reference to 'end' is ambiguous
memset(end,0,sizeof(end));
^~~
/in/foo.cc:11:5: note: candidates are: int end [5][5]
int end[5][5];
^~~
In file included from /usr/include/c++/7/utility:76:0,
from /usr/include/c++/7/algorithm:60,
from /in/foo.cc:2:
/usr/include/c++/7/initializer_list:99:5: note: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
end(initializer_list<_Tp> __ils) noexcept
^~~
/in/foo.cc:37:29: error: reference to 'end' is ambiguous
memset(end,0,sizeof(end));
^~~
/in/foo.cc:11:5: note: candidates are: int end [5][5]
int end[5][5];
^~~
In file included from /usr/include/c++/7/utility:76:0,
from /usr/include/c++/7/algorithm:60,
from /in/foo.cc:2:
/usr/include/c++/7/initializer_list:99:5: note: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
end(initializer_list<_Tp> __ils) noexcept
^~~
/in/foo.cc:40:9: error: reference to 'end' is ambiguous
end[1][1]+=tms[1];end[1][2]+=tms[1];end[2][1]+=tms[1];end[2][2]+=tms[1];
^~~
/in/foo.cc:11:5: note: candidates are: int end [5][5]
int end[5][5];
^~~
In file included from /usr/include/c++/7/utility:76:0,
from /usr/include/c++/7/algorithm:60,
from /in/foo.cc:2:
/usr/include/c++/7/initializer_list:99:5: note: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
end(initializer_list<_Tp> __ils) noexcept
^~~
/in/foo.cc:40:27: error: reference to 'end' is ambiguous
end[1][1]+=tms[1];end[1][2]+=tms[1];end[2][1]+=tms[1];end[2][2]+=tms[1];
^~~
/in/foo.cc:11:5: note: candidates are: int end [5][5]
int end[5][5];
^~~
In file included from /usr/include/c++/7/utility:76:0,
from /usr/include/c++/7/algorithm:60,
from /in/foo.cc:2:
/usr/include/c++/7/initializer_list:99:5: note: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
end(initializer_list<_Tp> __ils) noexcept
^~~
/in/foo.cc:40:45: error: reference to 'end' is ambiguous
end[1][1]+=tms[1];end[1][2]+=tms[1];end[2][1]+=tms[1];end[2][2]+=tms[1];
^~~
/in/foo.cc:11:5: note: candidates are: int end [5][5]
int end[5][5];
^~~
In file included from /usr/include/c++/7/utility:76:0,
from /usr/include/c++/7/algorithm:60,
from /in/foo.cc:2:
/usr/include/c++/7/initializer_list:99:5: note: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
end(initializer_list<_Tp> __ils) noexcept
^~~
/in/foo.cc:40:63: error: reference to 'end' is ambiguous
end[1][1]+=tms[1];end[1][2]+=tms[1];end[2][1]+=tms[1];end[2][2]+=tms[1];
^~~
/in/foo.cc:11:5: note: candidates are: int end [5][5]
int end[5][5];
^~~
In file included from /usr/include/c++/7/utility:76:0,
from /usr/include/c++/7/algorithm:60,
from /in/foo.cc:2:
/usr/include/c++/7/initializer_list:99:5: note: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
end(initializer_list<_Tp> __ils) noexcept
^~~
/in/foo.cc:41:9: error: reference to 'end' is ambiguous
end[1][1]+=tms[2];end[1][2]+=tms[2];end[1][3]+=tms[2];
^~~
/in/foo.cc:11:5: note: candidates are: int end [5][5]
int end[5][5];
^~~
In file included from /usr/include/c++/7/utility:76:0,
from /usr/include/c++/7/algorithm:60,
from /in/foo.cc:2:
/usr/include/c++/7/initializer_list:99:5: note: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
end(initializer_list<_Tp> __ils) noexcept
^~~
/in/foo.cc:41:27: error: reference to 'end' is ambiguous
end[1][1]+=tms[2];end[1][2]+=tms[2];end[1][3]+=tms[2];
^~~
/in/foo.cc:11:5: note: candidates are: int end [5][5]
int end[5][5];
^~~
In file included from /usr/include/c++/7/utility:76:0,
from /usr/include/c++/7/algorithm:60,
from /in/foo.cc:2:
/usr/include/c++/7/initializer_list:99:5: note: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
end(initializer_list<_Tp> __ils) noexcept
^~~
/in/foo.cc:41:45: error: reference to 'end' is ambiguous
end[1][1]+=tms[2];end[1][2]+=tms[2];end[1][3]+=tms[2];
^~~
/in/foo.cc:11:5: note: candidates are: int end [5][5]
int end[5][5];
^~~
In file included from /usr/include/c++/7/utility:76:0,
from /usr/include/c++/7/algorithm:60,
from /in/foo.cc:2:
/usr/include/c++/7/initializer_list:99:5: note: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
end(initializer_list<_Tp> __ils) noexcept
^~~
/in/foo.cc:42:9: error: reference to 'end' is ambiguous
end[1][2]+=tms[3];end[1][3]+=tms[3];end[2][2]+=tms[3];end[2][3]+=tms[3];
^~~
/in/foo.cc:11:5: note: candidates are: int end [5][5]
int end[5][5];
^~~
In file included from /usr/include/c++/7/utility:76:0,
from /usr/include/c++/7/algorithm:60,
from /in/foo.cc:2:
/usr/include/c++/7/initializer_list:99:5: note: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
end(initializer_list<_Tp> __ils) noexcept
^~~
/in/foo.cc:42:27: error: reference to 'end' is ambiguous
end[1][2]+=tms[3];end[1][3]+=tms[3];end[2][2]+=tms[3];end[2][3]+=tms[3];
^~~
/in/foo.cc:11:5: note: candidates are: int end [5][5]
int end[5][5];
^~~
In file included from /usr/include/c++/7/utility:76:0,
from /usr/include/c++/7/algorithm:60,
from /in/foo.cc:2:
/usr/include/c++/7/initializer_list:99:5: note: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
end(initializer_list<_Tp> __ils) noexcept
^~~
/in/foo.cc:42:45: error: reference to 'end' is ambiguous
end[1][2]+=tms[3];end[1][3]+=tms[3];end[2][2]+=tms[3];end[2][3]+=tms[3];
^~~
/in/foo.cc:11:5: note: candidates are: int end [5][5]
int end[5][5];
^~~
In file included from /usr/include/c++/7/utility:76:0,
from /usr/include/c++/7/algorithm:60,
from /in/foo.cc:2:
/usr/include/c++/7/initializer_list:99:5: note: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
end(initializer_list<_Tp> __ils) noexcept
^~~
/in/foo.cc:42:63: error: reference to 'end' is ambiguous
end[1][2]+=tms[3];end[1][3]+=tms[3];end[2][2]+=tms[3];end[2][3]+=tms[3];
^~~
/in/foo.cc:11:5: note: candidates are: int end [5][5]
int end[5][5];
^~~
In file included from /usr/include/c++/7/utility:76:0,
from /usr/include/c++/7/algorithm:60,
from /in/foo.cc:2:
/usr/include/c++/7/initializer_list:99:5: note: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
end(initializer_list<_Tp> __ils) noexcept
^~~
/in/foo.cc:43:9: error: reference to 'end' is ambiguous
end[1][1]+=tms[4];end[2][1]+=tms[4];end[3][1]+=tms[4];
^~~
/in/foo.cc:11:5: note: candidates are: int end [5][5]
int end[5][5];
^~~
In file included from /usr/include/c++/7/utility:76:0,
from /usr/include/c++/7/algorithm:60,
from /in/foo.cc:2:
/usr/include/c++/7/initializer_list:99:5: note: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)