#include<stdio.h> int main() { int s,l; double rate; scanf("%d%d",&s,&l); rate=(double)(s-l)/l*100; if(rate<10) printf("OK\n"); else if(rate<50) printf("Exceed %2.0lf%%. Ticket 200\n",rate); else printf("Exceed %2.0lf%%. License Revoked\n",rate); return 0; }
时间: 2024-12-21 08:45:45