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_39817242_26000.cpp:16:10: error: stray '\243' in program
   16 |     dp[n]<a3><bd>1;
      |          ^~~~
0_0_39817242_26000.cpp:16:11: error: stray '\275' in program
   16 |     dp[n]<a3><bd>1;
      |              ^~~~
0_0_39817242_26000.cpp: In function 'int main()':
0_0_39817242_26000.cpp:16:10: error: expected ';' before numeric constant
   16 |     dp[n]£½1;
      |          ^ ~
      |          ;
0_0_39817242_26000.cpp:19:14: error: incompatible types in assignment of 'int' to 'int [2]'
   19 |         dp[i]=1;
      |         ~~~~~^~
0_0_39817242_26000.cpp:21:9: error: expected primary-expression before 'for'
   21 |         for(j=i+1;j<=n;j++)
      |         ^~~
0_0_39817242_26000.cpp:21:27: error: expected ';' before ')' token
   21 |         for(j=i+1;j<=n;j++)
      |                           ^
      |                           ;
0_0_39817242_26000.cpp:33:61: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   33 |              if((a[j][0]>a[i][0])&&(a[j][1]<a[i][1])&&(dp[j]>max))
      |                                                        ~~~~~^~~~
0_0_39817242_26000.cpp:35:28: error: invalid operands of types 'int [3]' and 'int [2]' to binary 'operator+'
   35 |                  dp[i]=a[i]+dp[j];//¸üÐÂdp[i]
      |                        ~~~~^~~~~~
      |                           |     |
      |                           |     int [2]
      |                           int [3]
0_0_39817242_26000.cpp:36:26: error: invalid conversion from 'int*' to 'int' [-fpermissive]
   36 |                  max=dp[j];
      |                      ~~~~^
      |                          |
      |                          int*
0_0_39817242_26000.cpp:41:17: error: invalid conversion from 'int*' to 'int' [-fpermissive]
   41 |         max=dp[1],maxi=1;
      |             ~~~~^
      |                 |
      |                 int*
0_0_39817242_26000.cpp:41:19: error: 'maxi' was not declared in this scope; did you mean 'max'?
   41 |         max=dp[1],maxi=1;
      |                   ^~~~
      |                   max
0_0_39817242_26000.cpp:42:20: error: 'count' was not declared in this scope
   42 |         for(i=2;i<=count;i++)
      |                    ^~~~~
0_0_39817242_26000.cpp:44:23: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   44 |                 if(max<dp[i])
      |                    ~~~^~~~~~
0_0_39817242_26000.cpp:46:33: error: invalid conversion from 'int*' to 'int' [-fpermissive]
   46 |                         max=dp[i];
      |                             ~~~~^
      |                                 |
      |                                 int*
0_0_39817242_26000.cpp:55:34: error: 's' was not declared in this scope
   55 |         if((a[i][0]>w)&&(a[i][1]<s)
      |                                  ^
0_0_39817242_26000.cpp:55:36: error: expected ')' before '{' token
   55 |         if((a[i][0]>w)&&(a[i][1]<s)
      |           ~                        ^
      |                                    )
   56 |         {
      |         ~                           
0_0_39817242_26000.cpp:62:5: error: expected primary-expression before '}' token
   62 |     }
      |     ^
0_0_39817242_26000.cpp:68:1: error: a function-definition is not allowed here before '{' token
   68 | {
      | ^
0_0_39817242_26000.cpp:97:2: error: expected '}' at end of input
   97 | }
      |  ^
0_0_39817242_26000.cpp:4:1: note: to match this '{'
    4 | {
      | ^


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-22 17:53:46, Gzip enabled