Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
89393 sh25_zhangjiajia 判断字符串是否为回文 C++ 解答错误 0 MS 256 KB 313 2026-06-05 14:19:09

Tests(0/4):


#include<iostream> using namespace std; struct node{ string name; double score; }s[100]; int main() { int n,max,max_num; max=-1; cin>>n; for(int i=0;i<n;i++){ cin>>s[i].score>>s[i].name; if(s[i].score>max){ max=s[i].score; max_num=i; } } cout<<s[max_num].name; return 0; }


测评信息: