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_38932154_23537.cpp: In function 'int main()':
0_0_38932154_23537.cpp:13:29: error: expected primary-expression before '<' token
   13 |                 sort(a,a+n);<span style="white-space:pre">              </span>//ลละ๒
      |                             ^
0_0_38932154_23537.cpp:13:30: error: 'span' was not declared in this scope
   13 |                 sort(a,a+n);<span style="white-space:pre">              </span>//ลละ๒
      |                              ^~~~
0_0_38932154_23537.cpp:3:1: note: 'std::span' is defined in header '<span>'; did you forget to '#include <span>'?
    2 | #include<algorithm>
  +++ |+#include <span>
    3 | using namespace std;
0_0_38932154_23537.cpp:14:32: error: expected ';' before ')' token
   14 |                 for(i=0;i<m;i++)
      |                                ^
      |                                ;
0_0_38932154_23537.cpp:16:29: error: expected primary-expression before '<' token
   16 |                 sort(b,b+m);<span style="white-space:pre">              </span>//ลละ๒
      |                             ^
0_0_38932154_23537.cpp:17:32: error: expected ';' before ')' token
   17 |                 for(i=0;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-16 16:41:07, Gzip enabled