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_34884256_11087.cpp:4:1: error: 'usingnamespacestd' does not name a type
 usingnamespacestd;
 ^
0_0_34884256_11087.cpp:5:1: error: 'constintSIZE' does not name a type
 constintSIZE=1002;
 ^
0_0_34884256_11087.cpp: In function 'int intmain()':
0_0_34884256_11087.cpp:8:1: error: 'intn' was not declared in this scope
 intn,m;
 ^
0_0_34884256_11087.cpp:8:6: error: 'm' was not declared in this scope
 intn,m;
      ^
0_0_34884256_11087.cpp:9:1: error: 'inti' was not declared in this scope
 inti,count;
 ^
0_0_34884256_11087.cpp:9:6: error: 'count' was not declared in this scope
 inti,count;
      ^
0_0_34884256_11087.cpp:9:6: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_34884256_11087.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:3947:5: note:   'std::count'
     count(_InputIterator __first, _InputIterator __last, const _Tp& __value)
     ^
0_0_34884256_11087.cpp:10:1: error: 'intseq' was not declared in this scope
 intseq[SIZE];
 ^
0_0_34884256_11087.cpp:10:8: error: 'SIZE' was not declared in this scope
 intseq[SIZE];
        ^
0_0_34884256_11087.cpp:11:21: error: 'n' was not declared in this scope
 while(scanf("%d%d",&n,&m)!=EOF)
                     ^
0_0_34884256_11087.cpp:13:5: error: 'i' was not declared in this scope
 for(i=0;i<SIZE;i++)
     ^
0_0_34884256_11087.cpp:14:1: error: 'seq' was not declared in this scope
 seq[i]=i+1;
 ^
0_0_34884256_11087.cpp:21:5: error: 'i' was not declared in this scope
 for(i=0;i<n;i++)
     ^
0_0_34884256_11087.cpp:23:1: error: 'cout' was not declared in this scope
 cout<<seq[i];
 ^
0_0_34884256_11087.cpp:23:1: note: suggested alternative:
In file included from 0_0_34884256_11087.cpp:1:0:
GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:61:18: note:   'std::cout'
   extern ostream cout;  /// Linked to standard output
                  ^
0_0_34884256_11087.cpp:23:7: error: 'seq' was not declared in this scope
 cout<<seq[i];
       ^
0_0_34884256_11087.cpp:25:1: error: 'cout' was not declared in this scope
 cout<<seq[i]<<"";
 ^
0_0_34884256_11087.cpp:25:1: note: suggested alternative:
In file included from 0_0_34884256_11087.cpp:1:0:
GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:61:18: note:   'std::cout'
   extern ostream cout;  /// Linked to standard output
                  ^
0_0_34884256_11087.cpp:25:7: error: 'seq' was not declared in this scope
 cout<<seq[i]<<"";
       ^
0_0_34884256_11087.cpp:26:1: error: 'cout' was not declared in this scope
 cout<<endl;
 ^
0_0_34884256_11087.cpp:26:1: note: suggested alternative:
In file included from 0_0_34884256_11087.cpp:1:0:
GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:61:18: note:   'std::cout'
   extern ostream cout;  /// Linked to standard output
                  ^
0_0_34884256_11087.cpp:26:7: error: 'endl' was not declared in this scope
 cout<<endl;
       ^
0_0_34884256_11087.cpp:26:7: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39:0,
                 from 0_0_34884256_11087.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:564:5: note:   'std::endl'
     endl(basic_ostream<_CharT, _Traits>& __os)
     ^
0_0_34884256_11087.cpp:30:24: error: 'seq' was not declared in this scope
 while(next_permutation(seq,seq+n));
                        ^
0_0_34884256_11087.cpp:30:33: error: 'next_permutation' was not declared in this scope
 while(next_permutation(seq,seq+n));
                                 ^
0_0_34884256_11087.cpp:30:33: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_34884256_11087.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:2988:5: note:   'std::next_permutation'
     next_permutation(_BidirectionalIterator __first,
     ^
0_0_34884256_11087.cpp:32:1: error: 'return0' was not declared in this scope
 return0;
 ^


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-07-04 17:14:27, Gzip enabled