MCPcopy Create free account
hub / github.com/Vishruth-S/CompetitiveCode / main

Function main

CodeChef_problems/ANIRWO/solution2.cpp:6–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4#include<iostream>
5using namespace std;
6int main( )
7{
8 int t;//to store the number of test cases
9 cin>>t;
10 for(int i=0;i<t;i++)
11 {
12 string s;// to store the string input
13 cin>>s;
14 for(int j=0;j<s.length();j++)
15 /*219 is the sum of ascii code of a and z */
16 cout<<(char)(219-s[j]);//converting each character into the required character
17 cout<<endl;//to print each test case in a new line
18 }
19 return 0;
20}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected