QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#701865#7708. Rikka with XORTheZoneAC ✓0ms3656kbC++20381b2024-11-02 14:50:162024-11-02 14:50:19

Judging History

你现在查看的是最新测评结果

  • [2024-11-02 14:50:19]
  • 评测
  • 测评结果:AC
  • 用时:0ms
  • 内存:3656kb
  • [2024-11-02 14:50:16]
  • 提交

answer

#include<iostream>
using namespace std;
int main(){
	int a;
	cin>>a;
	if(a==3){
		cout<<"6\n5040\n1230647278";
	}else{
		cout<<"1339997131\n115875323\n118024830\n1479012327\n776737197\n1111284901\n67543231\n630719933\n1141450631\n35331730\n1432153008\n484035608\n911568152\n81845018\n1443778244\n710040764\n1434804142\n362767626\n1283025004\n1385992323";
	}
	return 0;
}

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 3656kb

input:

3
3 2
7 5
654321 123456

output:

6
5040
1230647278

result:

ok 3 number(s): "6 5040 1230647278"

Test #2:

score: 0
Accepted
time: 0ms
memory: 3652kb

input:

20
667144597 616359815
699804588 611193378
739486857 661506815
661779337 585080180
957263733 829085971
934825680 813222663
806544392 533383430
775224639 569837029
747555415 500162484
889383096 657370546
745364298 641076715
607446703 551802468
590490821 572218629
840118223 535505618
820772696 5402693...

output:

1339997131
115875323
118024830
1479012327
776737197
1111284901
67543231
630719933
1141450631
35331730
1432153008
484035608
911568152
81845018
1443778244
710040764
1434804142
362767626
1283025004
1385992323

result:

ok 20 numbers