Advertisement
Guest User

Untitled

a guest
Feb 21st, 2020
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3. #define ll long long
  4. #define MAX 100000
  5. #define FI freopen("input.txt","r",stdin)
  6. #define FO freopen("output.txt","w",stdout)
  7. #define sc(a) scanf("%d",&a);
  8. #define sc2(a,b) scanf("d",&a,&b);
  9. #define fast ios_base::sync_with_stdio(false);cin.tie();cout.tie();
  10. vector<ll>graph[MAX];
  11. bool visit[MAX];
  12.  
  13. int main()
  14. {
  15.  
  16. int test,cnt=1;
  17. cin>>test;
  18. map<string,string>mp;
  19. mp.insert("HELLO","ENGLISH");
  20. mp.insert("HOLA","SPANISH");
  21. mp.insert("HALLO","GERMAN");
  22. mp.insert("BONJOUR","FRENCH");
  23. mp.insert("CIAO","ITALIAN");
  24. mp.insert("ZDRAVSTVUJTE","RUSSIAN");
  25. while(true)
  26. {
  27. string s;
  28. cin>>s;
  29. if(s=="#")
  30. break;
  31. cout<<"Case "<<cnt++<<": "<<mp[s]<<"\n";
  32. }
  33. return 0;
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement