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:48: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:65: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:42:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&t);
~~~~~^~~~~~~~~
acm.cpp:44: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:48: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:55:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf(" %c",&S);
~~~~~^~~~~~~~~~
acm.cpp:59:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&t);
~~~~~^~~~~~~~~
acm.cpp:61: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:65: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);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~