election.cpp: In function 'int main()':
election.cpp:3:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define FOR(x,y) for(int x = 0; x < y; x++)
election.cpp:42:7:
FOR(k, ss.length())
~~~~~~~~~~~~~~
election.cpp:42:3: note: in expansion of macro 'FOR'
FOR(k, ss.length())
^~~
election.cpp:3:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define FOR(x,y) for(int x = 0; x < y; x++)
election.cpp:70:7:
FOR(k, nulled.size())
~~~~~~~~~~~~~~~~
election.cpp:70:3: note: in expansion of macro 'FOR'
FOR(k, nulled.size())
^~~
election.cpp:21:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
if(fopen("test.txt","r")) freopen("test.txt","r",stdin);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~