Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
330763 李俞家骅 【C1-5】数字和游戏 C++ 通过 100 1 MS 248 KB 193 2025-07-11 09:47:32

Tests(3/3):


#include<bits/stdc++.h> using namespace std; int main(){ int n,k,sum=0; cin>>n>>k; cout<<n%k<<endl; sum=n/1%10+n/10%10+n/100%10+n/1000%10; cout<<sum%k<<endl; return 0; }


测评信息: