acm.cpp: In function 'int main()':
acm.cpp:28:27: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[25]' [-Wformat=]
scanf(" %s",&tn[i]);
~~~~~~^
acm.cpp:49:51: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'char*' [-Wformat=]
scanf("%d/%d:%d:%d",&X,&HH,&MM,&SS);
~~ ^
acm.cpp:67:51: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'char*' [-Wformat=]
scanf("%d/%d:%d:%d",&X,&HH,&MM,&SS);
~~ ^
acm.cpp:24:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&N,&M);
~~~~~^~~~~~~~~~~~~~
acm.cpp:28:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf(" %s",&tn[i]);
~~~~~^~~~~~~~~~~~~~
acm.cpp:34:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&t);
~~~~~^~~~~~~~~
acm.cpp:39:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf(" %c",&S);
~~~~~^~~~~~~~~~
acm.cpp:43:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&t);
~~~~~^~~~~~~~~
acm.cpp:45:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("/%d:%d:%d ",&HH,&MM,&SS);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
acm.cpp:49:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d/%d:%d:%d",&X,&HH,&MM,&SS);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
acm.cpp:56:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf(" %c",&S);
~~~~~^~~~~~~~~~
acm.cpp:61:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&t);
~~~~~^~~~~~~~~
acm.cpp:63:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("/%d:%d:%d",&HH,&MM,&SS);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
acm.cpp:67:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d/%d:%d:%d",&X,&HH,&MM,&SS);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~