提交方式:C++,直接提交即可

#include<cstdio>
#include<iostream>
#include<cstring>
using namespace std;

int main()
{
    FILE* fp;
    int i, j, n;
    if ((fp = fopen("score.dic", "r")) == NULL)
    {
        printf("can not open.\n");
        exit(0);
    }
    char s[100];
    while(fgets(s,1000,fp)!=NULL){
        
        int len=strlen(s);
        
        for(int i=0;i<len;i++){
            if(s[i]>='a'&&s[i]<='z'){
                s[i]+='A'-'a';
            }
        }
        
        cout<<s;
    }
    
    
    fclose(fp);
    return 0;
}