Language: C++

#include <bits/stdc++.h>
main(int i){char* s[]={"light fly","fly","bantam","feather","light","light welter","welter","light middle","middle","light heavy","heavy"};float f[]={0,48.0,51.0,54.0,57.0,60.0,64.0,69.0,75.0,81.0,91.0,1e9};while(std::cin>>*f){for(i=1;*f>f[i++]){}printf("%s\n",s[i-1]);}}

Compiler output:
a.cc:2:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    2 | main(int i){char* s[]={"light fly","fly","bantam","feather","light","light welter","welter","light middle","middle","light heavy","heavy"};float f[]={0,48.0,51.0,54.0,57.0,60.0,64.0,69.0,75.0,81.0,91.0,1e9};while(std::cin>>*f){for(i=1;*f>f[i++]){}printf("%s\n",s[i-1]);}}
      | ^~~~
a.cc:2:1: warning: 'int main(int)' takes only zero or two arguments [-Wmain]
a.cc: In function 'int main(int)':
a.cc:2:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    2 | main(int i){char* s[]={"light fly","fly","bantam","feather","light","light welter","welter","light middle","middle","light heavy","heavy"};float f[]={0,48.0,51.0,54.0,57.0,60.0,64.0,69.0,75.0,81.0,91.0,1e9};while(std::cin>>*f){for(i=1;*f>f[i++]){}printf("%s\n",s[i-1]);}}
      |                        ^~~~~~~~~~~
a.cc:2:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    2 | main(int i){char* s[]={"light fly","fly","bantam","feather","light","light welter","welter","light middle","middle","light heavy","heavy"};float f[]={0,48.0,51.0,54.0,57.0,60.0,64.0,69.0,75.0,81.0,91.0,1e9};while(std::cin>>*f){for(i=1;*f>f[i++]){}printf("%s\n",s[i-1]);}}
      |                                    ^~~~~
a.cc:2:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    2 | main(int i){char* s[]={"light fly","fly","bantam","feather","light","light welter","welter","light middle","middle","light heavy","heavy"};float f[]={0,48.0,51.0,54.0,57.0,60.0,64.0,69.0,75.0,81.0,91.0,1e9};while(std::cin>>*f){for(i=1;*f>f[i++]){}printf("%s\n",s[i-1]);}}
      |                                          ^~~~~~~~
a.cc:2:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    2 | main(int i){char* s[]={"light fly","fly","bantam","feather","light","light welter","welter","light middle","middle","light heavy","heavy"};float f[]={0,48.0,51.0,54.0,57.0,60.0,64.0,69.0,75.0,81.0,91.0,1e9};while(std::cin>>*f){for(i=1;*f>f[i++]){}printf("%s\n",s[i-1]);}}
      |                                                   ^~~~~~~~~
a.cc:2:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    2 | main(int i){char* s[]={"light fly","fly","bantam","feather","light","light welter","welter","light middle","middle","light heavy","heavy"};float f[]={0,48.0,51.0,54.0,57.0,60.0,64.0,69.0,75.0,81.0,91.0,1e9};while(std::cin>>*f){for(i=1;*f>f[i++]){}printf("%s\n",s[i-1]);}}
      |                                                             ^~~~~~~
a.cc:2:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    2 | main(int i){char* s[]={"light fly","fly","bantam","feather","light","light welter","welter","light middle","middle","light heavy","heavy"};float f[]={0,48.0,51.0,54.0,57.0,60.0,64.0,69.0,75.0,81.0,91.0,1e9};while(std::cin>>*f){for(i=1;*f>f[i++]){}printf("%s\n",s[i-1]);}}
      |                                                                     ^~~~~~~~~~~~~~
a.cc:2:84: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    2 | main(int i){char* s[]={"light fly","fly","bantam","feather","light","light welter","welter","light middle","middle","light heavy","heavy"};float f[]={0,48.0,51.0,54.0,57.0,60.0,64.0,69.0,75.0,81.0,91.0,1e9};while(std::cin>>*f){for(i=1;*f>f[i++]){}printf("%s\n",s[i-1]);}}
      |                                                                                    ^~~~~~~~
a.cc:2:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    2 | main(int i){char* s[]={"light fly","fly","bantam","feather","light","light welter","welter","light middle","middle","light heavy","heavy"};float f[]={0,48.0,51.0,54.0,57.0,60.0,64.0,69.0,75.0,81.0,91.0,1e9};while(std::cin>>*f){for(i=1;*f>f[i++]){}printf("%s\n",s[i-1]);}}
      |                                                                                             ^~~~~~~~~~~~~~
a.cc:2:108: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    2 | main(int i){char* s[]={"light fly","fly","bantam","feather","light","light welter","welter","light middle","middle","light heavy","heavy"};float f[]={0,48.0,51.0,54.0,57.0,60.0,64.0,69.0,75.0,81.0,91.0,1e9};while(std::cin>>*f){for(i=1;*f>f[i++]){}printf("%s\n",s[i-1]);}}
      |                                                                                                            ^~~~~~~~
a.cc:2:117: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    2 | main(int i){char* s[]={"light fly","fly","bantam","feather","light","light welter","welter","light middle","middle","light heavy","heavy"};float f[]={0,48.0,51.0,54.0,57.0,60.0,64.0,69.0,75.0,81.0,91.0,1e9};while(std::cin>>*f){for(i=1;*f>f[i++]){}printf("%s\n",s[i-1]);}}
      |                                                                                                                     ^~~~~~~~~~~~~
a.cc:2:131: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    2 | main(int i){char* s[]={"light fly","fly","bantam","feather","light","light welter","welter","light middle","middle","light heavy","heavy"};float f[]={0,48.0,51.0,54.0,57.0,60.0,64.0,69.0,75.0,81.0,91.0,1e9};while(std::cin>>*f){for(i=1;*f>f[i++]){}printf("%s\n",s[i-1]);}}
      |                                                                                                                                   ^~~~~~~
a.cc:2:245: error: expected ';' before ')' token
    2 | main(int i){char* s[]={"light fly","fly","bantam","feather","light","light welter","welter","light middle","middle","light heavy","heavy"};float f[]={0,48.0,51.0,54.0,57.0,60.0,64.0,69.0,75.0,81.0,91.0,1e9};while(std::cin>>*f){for(i=1;*f>f[i++]){}printf("%s\n",s[i-1]);}}
      |                                                                                                                                                                                                                                                     ^
      |                                                                                                                                                                                                                                                     ;