#include<stdio.h>//此代码为经过的秒数计算int main(){ int h,m,s,x; scanf("%d%d%d",&h,&m,&s); x=h*3600+m*60+s; printf("%d",x); return 0;}