Run id: 132518

Main.cc: In function 'int main()':
Main.cc:6:11: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
     while(gets(s)) {
           ^
In file included from Main.cc:1:0:
/usr/include/stdio.h:638:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^
Main.cc:6:11: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
     while(gets(s)) {
           ^
In file included from Main.cc:1:0:
/usr/include/stdio.h:638:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^
Main.cc:6:17: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
     while(gets(s)) {
                 ^
In file included from Main.cc:1:0:
/usr/include/stdio.h:638:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^
Main.cc:8:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(int i = 0; i < strlen(s); i++) {
                          ^
Main.cc:10:28: error: invalid types 'int[int]' for array subscript
             if(!a[s[i] - 65]) {
                            ^
Main.cc:11:28: error: invalid types 'int[int]' for array subscript
                 a[s[i] - 65] = 1;
                            ^