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

View Compilation Error

0_0_28050665_13147.cpp:1:1: error: stray '\243' in program
 7-28 Shuffling Machine £¨20 ·Ö£©
 ^
0_0_28050665_13147.cpp:1:1: error: stray '\250' in program
0_0_28050665_13147.cpp:1:1: error: stray '\267' in program
0_0_28050665_13147.cpp:1:1: error: stray '\326' in program
0_0_28050665_13147.cpp:1:1: error: stray '\243' in program
0_0_28050665_13147.cpp:1:1: error: stray '\251' in program
0_0_28050665_13147.cpp:14:1: error: stray '\241' in program
 Each input file contains one test case. For each case, the first line contains a positive integer K (¡Ü20) which is the number of repeat times. Then the next line contains the given order. All the numbers in a line are separated by a space.
 ^
0_0_28050665_13147.cpp:14:1: error: stray '\334' in program
0_0_28050665_13147.cpp:1:1: error: expected unqualified-id before numeric constant
 7-28 Shuffling Machine £¨20 ·Ö£©
 ^
0_0_28050665_13147.cpp:11:372: error: expected unqualified-id before ',' token
 where "S" stands for "Spade", "H" for "Heart", "C" for "Club", "D" for "Diamond", and "J" for "Joker". A given order is a permutation of distinct integers in [1, 54]. If the number at the i-th position is j, it means to move the card from position i to position j. For example, suppose we only have 5 cards: S3, H5, C1, D13 and J2. Given a shuffling order {4, 2, 5, 3, 1}, the result will be: J2, H5, D13, S3, C1. If we are to repeat the shuffling again, the result will be: C1, H5, S3, J2, D13.
                                                                                                                                                                                                                                                                                                                                                                                    ^
0_0_28050665_13147.cpp:11:378: error: expected constructor, destructor, or type conversion before 'result'
 where "S" stands for "Spade", "H" for "Heart", "C" for "Club", "D" for "Diamond", and "J" for "Joker". A given order is a permutation of distinct integers in [1, 54]. If the number at the i-th position is j, it means to move the card from position i to position j. For example, suppose we only have 5 cards: S3, H5, C1, D13 and J2. Given a shuffling order {4, 2, 5, 3, 1}, the result will be: J2, H5, D13, S3, C1. If we are to repeat the shuffling again, the result will be: C1, H5, S3, J2, D13.
                                                                                                                                                                                                                                                                                                                                                                                          ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-16 15:32:54, Gzip enabled