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_38246153_4921.cpp:1:1: error: 'include' does not name a type
 include <bits/stdc++.h>
 ^
0_0_38246153_4921.cpp: In function 'int main()':
0_0_38246153_4921.cpp:5:9: error: 'cin' was not declared in this scope
  while (cin >> n >> m) {
         ^
0_0_38246153_4921.cpp:11:45: error: 'next_permutation' was not declared in this scope
   } while (next_permutation(a + 1, a + n + 1));
                                             ^
0_0_38246153_4921.cpp:13:4: error: 'cout' was not declared in this scope
    cout << a[i] << " ";
    ^
0_0_38246153_4921.cpp:14:3: error: 'cout' was not declared in this scope
   cout << a[n] << endl;
   ^
0_0_38246153_4921.cpp:14:19: error: 'endl' was not declared in this scope
   cout << a[n] << endl;
                   ^


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 23:00:25, Gzip enabled