molecules.cpp:1:0: warning: ignoring #pragma gcc target [-Wunknown-pragmas]
#pragma gcc target ("sse4")
molecules.cpp:6:23: warning: extra tokens at end of #include directive
#include "molecules.h";
^
molecules.cpp:56:58: error: declaration of 'args ... args' shadows template parameter
template<typename... args> void upd(int pos, args... args) {
^~~~
molecules.cpp:56:14: note: template parameter 'args' declared here
template<typename... args> void upd(int pos, args... args) {
^~~~~~~~
molecules.cpp:59:53: error: declaration of 'args ... args' shadows template parameter
template<typename... args> t sum(int r, args... args) {
^~~~
molecules.cpp:59:14: note: template parameter 'args' declared here
template<typename... args> t sum(int r, args... args) {
^~~~~~~~
molecules.cpp:63:62: error: declaration of 'args ... args' shadows template parameter
template<typename... args> t query(int l, int r, args... args) {
^~~~
molecules.cpp:63:14: note: template parameter 'args' declared here
template<typename... args> t query(int l, int r, args... args) {
^~~~~~~~
molecules.cpp: In member function 'void bit<t, n, ns ...>::upd(int, args ...)':
molecules.cpp:56:58: error: declaration of 'args ... args' shadows template parameter
template<typename... args> void upd(int pos, args... args) {
^~~~
molecules.cpp:56:14: note: template parameter 'args' declared here
template<typename... args> void upd(int pos, args... args) {
^~~~~~~~
molecules.cpp: In member function 't bit<t, n, ns ...>::sum(int, args ...)':
molecules.cpp:59:53: error: declaration of 'args ... args' shadows template parameter
template<typename... args> t sum(int r, args... args) {
^~~~
molecules.cpp:59:14: note: template parameter 'args' declared here
template<typename... args> t sum(int r, args... args) {
^~~~~~~~
molecules.cpp: In member function 't bit<t, n, ns ...>::query(int, int, args ...)':
molecules.cpp:63:62: error: declaration of 'args ... args' shadows template parameter
template<typename... args> t query(int l, int r, args... args) {
^~~~
molecules.cpp:63:14: note: template parameter 'args' declared here
template<typename... args> t query(int l, int r, args... args) {
^~~~~~~~
molecules.cpp: At global scope:
molecules.cpp:77:47: error: declaration of 't& t' shadows template parameter
template<class t, class... ts> void re(t& t, ts&... ts) {
^
molecules.cpp:77:14: note: template parameter 't' declared here
template<class t, class... ts> void re(t& t, ts&... ts) {
^~~~~
molecules.cpp:77:57: error: declaration of 'ts& ... ts' shadows template parameter
template<class t, class... ts> void re(t& t, ts&... ts) {
^~
molecules.cpp:77:23: note: template parameter 'ts' declared here
template<class t, class... ts> void re(t& t, ts&... ts) {
^~~~~
molecules.cpp: In function 'void input::re(t&, ts& ...)':
molecules.cpp:77:57: error: declaration of 'ts& ... ts' shadows template parameter
template<class t, class... ts> void re(t& t, ts&... ts) {
^~
molecules.cpp:77:23: note: template parameter 'ts' declared here
template<class t, class... ts> void re(t& t, ts&... ts) {
^~~~~
molecules.cpp:77:47: error: declaration of 't& t' shadows template parameter
template<class t, class... ts> void re(t& t, ts&... ts) {
^
molecules.cpp:77:14: note: template parameter 't' declared here
template<class t, class... ts> void re(t& t, ts&... ts) {
^~~~~
molecules.cpp: At global scope:
molecules.cpp:107:53: error: declaration of 'const t& t' shadows template parameter
template<class t, class... ts> void pr(const t& t, const ts&... ts) {
^
molecules.cpp:107:14: note: template parameter 't' declared here
template<class t, class... ts> void pr(const t& t, const ts&... ts) {
^~~~~
molecules.cpp:107:69: error: declaration of 'const ts& ... ts' shadows template parameter
template<class t, class... ts> void pr(const t& t, const ts&... ts) {
^~
molecules.cpp:107:23: note: template parameter 'ts' declared here
template<class t, class... ts> void pr(const t& t, const ts&... ts) {
^~~~~
molecules.cpp: In function 'void output::pr(const t&, const ts& ...)':
molecules.cpp:107:69: error: declaration of 'const ts& ... ts' shadows template parameter
template<class t, class... ts> void pr(const t& t, const ts&... ts) {
^~
molecules.cpp:107:23: note: template parameter 'ts' declared here
template<class t, class... ts> void pr(const t& t, const ts&... ts) {
^~~~~
molecules.cpp:107:53: error: declaration of 'const t& t' shadows template parameter
template<class t, class... ts> void pr(const t& t, const ts&... ts) {
^
molecules.cpp:107:14: note: template parameter 't' declared here
template<class t, class... ts> void pr(const t& t, const ts&... ts) {
^~~~~
molecules.cpp: At global scope:
molecules.cpp:120:53: error: declaration of 'const t& t' shadows template parameter
template<class t, class... ts> void ps(const t& t, const ts&... ts) {
^
molecules.cpp:120:14: note: template parameter 't' declared here
template<class t, class... ts> void ps(const t& t, const ts&... ts) {
^~~~~
molecules.cpp:120:69: error: declaration of 'const ts& ... ts' shadows template parameter
template<class t, class... ts> void ps(const t& t, const ts&... ts) {
^~
molecules.cpp:120:23: note: template parameter 'ts' declared here
template<class t, class... ts> void ps(const t& t, const ts&... ts) {
^~~~~
molecules.cpp: In function 'void output::ps(const t&, const ts& ...)':
molecules.cpp:120:69: error: declaration of 'const ts& ... ts' shadows template parameter
template<class t, class... ts> void ps(const t& t, const ts&... ts) {
^~
molecules.cpp:120:23: note: template parameter 'ts' declared here
template<class t, class... ts> void ps(const t& t, const ts&... ts) {
^~~~~
molecules.cpp:120:53: error: declaration of 'const t& t' shadows template parameter
template<class t, class... ts> void ps(const t& t, const ts&... ts) {
^
molecules.cpp:120:14: note: template parameter 't' declared here
template<class t, class... ts> void ps(const t& t, const ts&... ts) {
^~~~~
molecules.cpp: At global scope:
molecules.cpp:125:53: error: declaration of 'const t& t' shadows template parameter
template<class t, class... ts> void pc(const t& t, const ts&... ts) {
^
molecules.cpp:125:14: note: template parameter 't' declared here
template<class t, class... ts> void pc(const t& t, const ts&... ts) {
^~~~~
molecules.cpp:125:69: error: declaration of 'const ts& ... ts' shadows template parameter
template<class t, class... ts> void pc(const t& t, const ts&... ts) {
^~
molecules.cpp:125:23: note: template parameter 'ts' declared here
template<class t, class... ts> void pc(const t& t, const ts&... ts) {
^~~~~
molecules.cpp: In function 'void output::pc(const t&, const ts& ...)':
molecules.cpp:125:69: error: declaration of 'const ts& ... ts' shadows template parameter
template<class t, class... ts> void pc(const t& t, const ts&... ts) {
^~
molecules.cpp:125:23: note: template parameter 'ts' declared here
template<class t, class... ts> void pc(const t& t, const ts&... ts) {
^~~~~
molecules.cpp:125:53: error: declaration of 'const t& t' shadows template parameter
template<class t, class... ts> void pc(const t& t, const ts&... ts) {
^
molecules.cpp:125:14: note: template parameter 't' declared here
template<class t, class... ts> void pc(const t& t, const ts&... ts) {
^~~~~
molecules.cpp: At global scope:
molecules.cpp:149:10: error: 'const ld pi' redeclared as different kind of symbol
const ld pi = 4*atan((ld)1);
^~
molecules.cpp:15:24: note: previous declaration 'typedef struct std::pair<int, int> pi'
typedef pair<int, int> pi;
^~
molecules.cpp: In function 'vi find_subset(int, int, vi)':
molecules.cpp:169:28: error: 'int_min' was not declared in this scope
auto fst = sufs.lb(mp(l,int_min));
^~~~~~~
molecules.cpp: In function 'void io::setin(std::__cxx11::string)':
molecules.cpp:134:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
void setin(string s) { freopen(s.c_str(),"r",stdin); }
~~~~~~~^~~~~~~~~~~~~~~~~~~~~
molecules.cpp: In function 'void io::setout(std::__cxx11::string)':
molecules.cpp:135:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
void setout(string s) { freopen(s.c_str(),"w",stdout); }
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~