Language: C++

#include<iostream>
#include<bits/stdc++.h>
#include<vector>

int main(){
    stirng S;
    cin >> S;
    if(S == 'Sunny'){
        cout << 'Cloudy' <<endl;
    }else if(S == 'Cloudy'){
        cout << 'Rainy' <<endl;
    }else{
        cout << 'Sunny' <<endl;
    }
}

Compiler output:
a.cc:8:13: warning: multi-character literal with 5 characters exceeds 'int' size of 4 bytes
    8 |     if(S == 'Sunny'){
      |             ^~~~~~~
a.cc:9:17: warning: multi-character literal with 6 characters exceeds 'int' size of 4 bytes
    9 |         cout << 'Cloudy' <<endl;
      |                 ^~~~~~~~
a.cc:10:19: warning: multi-character literal with 6 characters exceeds 'int' size of 4 bytes
   10 |     }else if(S == 'Cloudy'){
      |                   ^~~~~~~~
a.cc:11:17: warning: multi-character literal with 5 characters exceeds 'int' size of 4 bytes
   11 |         cout << 'Rainy' <<endl;
      |                 ^~~~~~~
a.cc:13:17: warning: multi-character literal with 5 characters exceeds 'int' size of 4 bytes
   13 |         cout << 'Sunny' <<endl;
      |                 ^~~~~~~
a.cc: In function 'int main()':
a.cc:6:5: error: 'stirng' was not declared in this scope
    6 |     stirng S;
      |     ^~~~~~
a.cc:7:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |     cin >> S;
      |     ^~~
      |     std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7:12: error: 'S' was not declared in this scope
    7 |     cin >> S;
      |            ^
a.cc:9:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |         cout << 'Cloudy' <<endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:28: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |         cout << 'Cloudy' <<endl;
      |                            ^~~~
      |                            std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:11:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |         cout << 'Rainy' <<endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:11:27: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |         cout << 'Rainy' <<endl;
      |                           ^~~~
      |                           std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:13:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 |         cout << 'Sunny' <<endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:13:27: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   13 |         cout << 'Sunny' <<endl;
      |                           ^~~~
      |                           std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~