F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

��������

Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 20393    Accepted Submission(s): 10934


Problem Description
����쵽�ˣ�����ͷ��Э�ᡱ׼����һ���ۻᣬ�Ѿ�֪�����л�ԱN�ˣ��ѻ�Ա��1��N��ţ����л᳤�ĺ�����N�ţ����Ǻͻ᳤�������ѵģ���ô�û�Ա�ĺ���϶���N�д���1�Ĺ�Լ���������������ѣ����ڻ᳤��֪�������м��������ѣ����������᳤���������
 

Input
��һ���Dz������ݵ�����CN��Case number��1<CN<10000����������CN��������N��1<n<32768������ʾ��Ա������
 

Output
����ÿһ��N�����һ�������ѵ���������������CN�������
 

Sample Input
2 25608 24027
 

Sample Output
7680 16016
 

Author
SmallBeer(CML)
 

Source
 

Statistic | Submit | Discuss | Note
Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-08-27 11:41:59, Gzip enabled