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_39033443_7236.cpp:7:5: error: expected ';' at end of member declaration
    7 | int end
      |     ^~~
      |        ;
0_0_39033443_7236.cpp: In function 'int main()':
0_0_39033443_7236.cpp:16:17: error: unable to find numeric literal operator 'operator""i'
   16 |         int cnt=1.i;
      |                 ^~~
0_0_39033443_7236.cpp:16:17: note: add 'using namespace std::complex_literals' (from '<complex>') to enable the C++14 user-defined literal suffixes
0_0_39033443_7236.cpp:17:9: error: 'menset' was not declared in this scope; did you mean 'wmemset'?
   17 |         menset(pro,0,sizeof(pro));
      |         ^~~~~~
      |         wmemset
0_0_39033443_7236.cpp:18:13: error: 'i' was not declared in this scope
   18 |         for(i=0;i<n;i++)
      |             ^
0_0_39033443_7236.cpp:24:13: error: 'i' was not declared in this scope
   24 |         for(i=1;i<n;i++){
      |             ^


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-25 11:30:28, Gzip enabled