SHOW:
|
|
- or go back to the newest paste.
| 1 | #include <stdio.h> | |
| 2 | ||
| 3 | int main() | |
| 4 | {
| |
| 5 | int a,b,x=1,T,runrate; | |
| 6 | scanf("%d", &T);
| |
| 7 | while(T>0){
| |
| 8 | scanf("%d %d", &a, &b);
| |
| 9 | runrate=(a/b)*6; | |
| 10 | printf("Case %d: %d", x++, runrate);
| |
| 11 | T--; | |
| 12 | } | |
| 13 | return 0; | |
| 14 | } |