-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnote.txt
More file actions
50 lines (28 loc) · 1.49 KB
/
Copy pathnote.txt
File metadata and controls
50 lines (28 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
followed by a blank line.
Ҫ��2��\n
scanf("%d %d")��scanf("%d%d")һ��
main����ӦΪint�ͣ����return 0 ������
int main()
{
...
return 0;
}
����������Ϊ������Щ����������
and followed by the end-of-line.������һ��\n
A blank line should separate output lines.
�������м���\n\n���𰸺ͽ�β��\n��û��
The first line of input for a game will be an integer n <= 20. (A value of n = 0 terminates input.) The next two lines will each contain n integers between 1 and 5 inclusive indicating the cards played on each of n rounds.
����Ӧ��Ϊ[20]
ZOJ1113����ͨ����̬�滮����
ǰ�漸��ֱ�����
n��ѭ����while(n--)
Segmentation Fault ����̫С��
����������Ū��Щ
ע�����һ�����������֮���Ƿ�Ӧ�ø�һ���ո�
����кܶ��������������Ӳ�����Ǽ������ڣ����Ե����г���
�������n==0���˳���while (cin >> n, n)
ע������ĸ�ʽ��Presentation Error ��
c������ʵ����2Ϊ�Ķ����ĺ�����ɶ��log(n)/log(2)
RWZxkpDEnLNyjxmcZZda
VS140COMNTOOLS
C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\