| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 37197 | 奚晨瑞 | 最高分数的学生姓名 | C++ | Accepted | 0 MS | 248 KB | 255 | 2024-01-19 15:44:04 |
#include<iostream> #include<cstring> using namespace std; int main() { int N; cin>>N; int max=-1; string a1; for(int i=0;i<N;i++){ int a; string s1; cin>>a>>s1; if(max<a){ max=a; a1=s1; } } cout<<a1; return 0; }