比赛时间
#include<iostream>
using namespace std;
int main()
{
int a, b, c;
cin >> a >> b >> c;
if(a < 11){
printf("-1");
return 0;
}
if(a == 11 && b < 11)
{
printf("-1");
return 0;
}
if(a == 11 && b == 11 && c < 11)
{
printf("-1");
return 0;
}
int sum = (a - 11) * 60 * 24 + (b - 11) * 60 + c - 11;
cout << sum<<endl;
}