| 比赛 | 201712练习 | 评测结果 | AAAAAAAAAA |
|---|---|---|---|
| 题目名称 | 大整数取模 | 最终得分 | 100 |
| 用户昵称 | 烟雨 | 运行时间 | 0.002 s |
| 代码语言 | C++ | 内存使用 | 0.31 MiB |
| 提交时间 | 2017-12-27 20:32:10 | ||
#include<fstream>
#include<cstring>
using namespace std;
ifstream cin("bigint.in");
ofstream cout("bigint.out");
string a;
long long s,op=0;
int LL()
{
cin>>a>>s;
for(int i=0;i<a.length();i++)
{
op=op*10+(a[i]^'0');
op=op%s;
}
cout<<op<<endl;
}
int work=LL();
int main(){;}