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_28848949_15044.cpp:1:56: error: stray '#' in program
 <code class=" hljs markdown"><span class="hljs-header">#include <iostream>
                                                        ^
0_0_28848949_15044.cpp:2:27: error: stray '#' in program
 <span class="hljs-header">#include <cstdio>
                           ^
0_0_28848949_15044.cpp:3:27: error: stray '#' in program
 <span class="hljs-header">#include <cstdlib>
                           ^
0_0_28848949_15044.cpp:4:27: error: stray '#' in program
 <span class="hljs-header">#include <algorithm>
                           ^
0_0_28848949_15044.cpp:5:27: error: stray '#' in program
 <span class="hljs-header">#include <cstring>
                           ^
0_0_28848949_15044.cpp:6:27: error: stray '#' in program
 <span class="hljs-header">#define fo(i,a,b) for(int i=a;i<=b;i++)
                           ^
0_0_28848949_15044.cpp:7:27: error: stray '#' in program
 <span class="hljs-header">#define min(q,w) ((q)<(w)?(q):(w))
                           ^
0_0_28848949_15044.cpp:1:1: error: expected unqualified-id before '<' token
 <code class=" hljs markdown"><span class="hljs-header">#include <iostream>
 ^
0_0_28848949_15044.cpp:6:57: error: 'i' does not name a type
 <span class="hljs-header">#define fo(i,a,b) for(int i=a;i<=b;i++)
                                                         ^
0_0_28848949_15044.cpp:6:62: error: 'i' does not name a type
 <span class="hljs-header">#define fo(i,a,b) for(int i=a;i<=b;i++)
                                                              ^
0_0_28848949_15044.cpp: In function 'int read(int&)':
0_0_28848949_15044.cpp:12:1: error: expected primary-expression before '<' token
 <span class="hljs-code">    scanf("%d",&n);return n;
 ^
0_0_28848949_15044.cpp:12:2: error: 'span' was not declared in this scope
 <span class="hljs-code">    scanf("%d",&n);return n;
  ^
0_0_28848949_15044.cpp:13:1: error: expected primary-expression before '<' token
 <span class="hljs-code">    char ch=' ';int q=0,w=1;
 ^
0_0_28848949_15044.cpp:14:1: error: expected primary-expression before '<' token
 <span class="hljs-code">    for(;(ch!='-')&&((ch<'0')||(ch>'9'));ch=getchar());
 ^
0_0_28848949_15044.cpp:14:35: error: 'ch' was not declared in this scope
 <span class="hljs-code">    for(;(ch!='-')&&((ch<'0')||(ch>'9'));ch=getchar());
                                   ^
0_0_28848949_15044.cpp:14:77: error: 'getchar' was not declared in this scope
 <span class="hljs-code">    for(;(ch!='-')&&((ch<'0')||(ch>'9'));ch=getchar());
                                                                             ^
0_0_28848949_15044.cpp:15:1: error: expected primary-expression before '<' token
 <span class="hljs-code">    if(ch=='-')w=-1,ch=getchar();
 ^
0_0_28848949_15044.cpp:16:1: error: expected primary-expression before '<' token
 <span class="hljs-code">    for(;ch>='0' && ch<='9';ch=getchar())q=q*10+ch-48;n=q*w;return n;
 ^
0_0_28848949_15044.cpp: At global scope:
0_0_28848949_15044.cpp:19:7: error: expected primary-expression before '<' token
 int a[<span class="hljs-link_label">N][<span class="hljs-link_reference">N],b[<span class="hljs-link_label">N][<span class="hljs-link_reference">N];
       ^
0_0_28848949_15044.cpp:19:8: error: 'span' was not declared in this scope
 int a[<span class="hljs-link_label">N][<span class="hljs-link_reference">N],b[<span class="hljs-link_label">N][<span class="hljs-link_reference">N];
        ^
0_0_28848949_15044.cpp:19:13: error: expected ']' before 'class'
 int a[<span class="hljs-link_label">N][<span class="hljs-link_reference">N],b[<span class="hljs-link_label">N][<span class="hljs-link_reference">N];
             ^
0_0_28848949_15044.cpp:20:7: error: expected primary-expression before '<' token
 int f[<span class="hljs-link_label">N][<span class="hljs-link_reference">N];
       ^
0_0_28848949_15044.cpp:20:8: error: 'span' was not declared in this scope
 int f[<span class="hljs-link_label">N][<span class="hljs-link_reference">N];
        ^
0_0_28848949_15044.cpp:20:13: error: expected ']' before 'class'
 int f[<span class="hljs-link_label">N][<span class="hljs-link_reference">N];
             ^
0_0_28848949_15044.cpp: In function 'bool PX(qqww, qqww)':
0_0_28848949_15044.cpp:25:35: error: 'span' was not declared in this scope
 bool PX(qqww q,qqww w){return q.v<span class="xml"><span class="hljs-tag"><<span class="hljs-title">w.v;}
                                   ^
0_0_28848949_15044.cpp:25:40: error: expected ';' before 'class'
 bool PX(qqww q,qqww w){return q.v<span class="xml"><span class="hljs-tag"><<span class="hljs-title">w.v;}
                                        ^
0_0_28848949_15044.cpp:25:40: error: expected primary-expression before 'class'
0_0_28848949_15044.cpp: At global scope:
0_0_28848949_15044.cpp:26:1: error: 'int' is not a template
 int <span class="hljs-attribute">main()
 ^
0_0_28848949_15044.cpp:26:6: error: 'span' was not declared in this scope
 int <span class="hljs-attribute">main()
      ^
0_0_28848949_15044.cpp:26:11: error: expected '>' before 'class'
 int <span class="hljs-attribute">main()
           ^
0_0_28848949_15044.cpp: In function 'int main()':
0_0_28848949_15044.cpp:28:5: error: expected primary-expression before '<' token
     <span class="hljs-attribute">int <span class="hljs-attribute">q,<span class="hljs-attribute">w,<span class="hljs-attribute">e;
     ^
0_0_28848949_15044.cpp:28:6: error: 'span' was not declared in this scope
     <span class="hljs-attribute">int <span class="hljs-attribute">q,<span class="hljs-attribute">w,<span class="hljs-attribute">e;
      ^
0_0_28848949_15044.cpp:29:5: error: expected primary-expression before '<' token
     <span class="hljs-attribute">read(<span class="hljs-attribute">n),<span class="hljs-attribute">read(<span class="hljs-attribute">m);
     ^
0_0_28848949_15044.cpp:30:5: error: expected primary-expression before '<' token
     <span class="hljs-attribute">memset(<span class="hljs-attribute">f,<span class="hljs-attribute">60,<span class="hljs-attribute">sizeof(<span class="hljs-attribute">f));
     ^
0_0_28848949_15044.cpp:31:5: error: expected primary-expression before '<' token
     <span class="hljs-attribute">fo(<span class="hljs-attribute">i,<span class="hljs-attribute">1,<span class="hljs-attribute">m)<span class="hljs-attribute">read(<span class="hljs-attribute">q),<span class="hljs-attribute">read(<span class="hljs-attribute">w),<span class="hljs-attribute">a[<span class="hljs-attribute">q][++<span class="hljs-attribute">a[<span class="hljs-attribute">q][<span class="hljs-attribute">0]]=<span class="hljs-value">w,a[w][++a[w][0]]=q,
     ^
0_0_28848949_15044.cpp:33:5: error: expected primary-expression before '<' token
     <span class="hljs-attribute">fo(<span class="hljs-attribute">k,<span class="hljs-attribute">1,<span class="hljs-attribute">n)
     ^
0_0_28848949_15044.cpp:36:5: error: expected primary-expression before '<' token
     <span class="hljs-attribute">fo(<span class="hljs-attribute">i,<span class="hljs-attribute">1,<span class="hljs-attribute">n)
     ^
0_0_28848949_15044.cpp:38:1: error: expected primary-expression before '<' token
 <span class="hljs-code">    fo(i,1,n-1)
 ^
0_0_28848949_15044.cpp:54:1: error: expected primary-expression before '<' token
 <span class="hljs-code">    printf("\n");
 ^
0_0_28848949_15044.cpp:55:1: error: expected primary-expression before '<' token
 <span class="hljs-code">    return 0;
 ^


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 15:57:02, Gzip enabled