/ /

记录详情

Time Exceeded


  
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Accepted 1ms 384.0 KiB
#5 Wrong Answer Read -2, expect 26936918. 38ms 392.0 KiB
#6 Wrong Answer Read -1, expect 8953562. 803ms 428.0 KiB
#7 Time Exceeded ≥1412ms ≥380.0 KiB
#8 Wrong Answer Read -7, expect 284385613. 37ms 424.0 KiB
#9 Time Exceeded ≥1379ms ≥424.0 KiB
#10 Wrong Answer Read 3, expect 88867829. 816ms 404.0 KiB

代码

#include <iostream>
#include <cstdio>
using namespace std;
int main() 
{
	int a,b,sum=1;
	cin>>a>>b;
	while(sum%a!=0)
	{
		sum+=b;
	}
	cout<<sum/a;
}

信息

递交者
类型
递交
题目
P1072 同余方程
题目数据
下载
语言
C++
递交时间
2021-08-18 09:26:58
评测时间
2021-08-18 09:26:58
评测机
分数
40
总耗时
≥4496ms
峰值内存
≥428.0 KiB