WHAT A CO-ACCIDENT
given below code is for SYNC13C spoj or WHAT A CO-ACCIDENT spoj.
#include<stdio.h> int main() { int t; scanf("%d",&t); while(t--) { int a,b; scanf("%d%d",&a,&b); if(a%2==1 && b%2==1) printf("Ramesh\n"); else printf("Suresh\n"); } return 0; }
No comments:
Post a Comment
Your comment is valuable to us