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:50: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:69: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:44:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&t);
~~~~~^~~~~~~~~
acm.cpp:50: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:57:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf(" %c",&S);
~~~~~^~~~~~~~~~
acm.cpp:63:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&t);
~~~~~^~~~~~~~~
acm.cpp:69: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);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~