#include <stdio.h> #include <math.h> #define PI 3.1415926 int main(){ int n,a,b; while(scanf("%d",&n)!=EOF){ while(n--){ scanf("%d%d",&a,&b); printf("%.2f\n",sin((float)(a-b)*PI/180)); } } }(•̀ᴗ•́)و
#include <stdio.h> #include <math.h> #define PI 3.1415926 int main(){ int n,a,b; while(scanf("%d",&n)!=EOF){ while(n--){ scanf("%d%d",&a,&b); printf("%.2f\n",sin((float)(a-b)*PI/180)); } } }(•̀ᴗ•́)و