Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
75183 黄钰舒 【J】T1 C++ 通过 100 23 MS 1120 KB 357 2026-06-21 16:10:42

Tests(10/10):


#include<bits/stdc++.h> #define int long long using namespace std; signed main() { int t; cin>>t; for(int i=1;i<=t;i++) { string st; cin>>st; int res=0; for(int i=0;i<=st.size()-1;i++) { res=(res*10+st[i]-'0')%2023; } if(res==0) { cout<<"Yes"<<endl; } else { cout<<"No"<<endl; } } return 0; }


测评信息: