| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 364989 | 何烨檑 | 【GESP三级】进制判断 | C++ | Accepted | 100 | 191 MS | 256 KB | 288 | 2025-11-30 16:53:12 |
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; while(n--){ string s; cin>>s; int ma='0'; for(int i=0;s[i]!='\0';i++){ if(s[i]>ma) ma=s[i]; } cout<<(ma<='1')<<" "<<(ma<='7')<<" "<<(ma<='9')<<" "<<(ma<='F')<<endl; } return 0; }