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_39134529_15137.cpp:1:2: error: invalid preprocessing directive #iclude; did you mean #include?
    1 | #iclude<bits/stdc++.h
      |  ^~~~~~
      |  include
0_0_39134529_15137.cpp: In function 'int main()':
0_0_39134529_15137.cpp:25:16: error: 'cin' was not declared in this scope
   25 |         while(~cin>>n>>m){
      |                ^~~
0_0_39134529_15137.cpp:1:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
  +++ |+#include <iostream>
    1 | #iclude<bits/stdc++.h
0_0_39134529_15137.cpp:31:17: error: 'memset' was not declared in this scope
   31 |                 memset(dp,0,sizeof(dp));
      |                 ^~~~~~
0_0_39134529_15137.cpp:1:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
  +++ |+#include <cstring>
    1 | #iclude<bits/stdc++.h
0_0_39134529_15137.cpp:35:44: error: expected primary-expression before 'if'
   35 |                                         if(if(i==0){
      |                                            ^~
0_0_39134529_15137.cpp:35:44: error: expected ')' before 'if'
   35 |                                         if(if(i==0){
      |                                           ~^~
      |                                            )
0_0_39134529_15137.cpp:44:60: error: 'staa' was not declared in this scope; did you mean 'sta'?
   44 |                                                 if(sta[p]&(staa[k]>>1)||sta[p]&(sta[k]<<1))
      |                                                            ^~~~
      |                                                            sta
0_0_39134529_15137.cpp:48:53: error: 'max' was not declared in this scope
   48 |                                                 tmp=max(tmp,dp[i-1][k][p]);
      |                                                     ^~~
0_0_39134529_15137.cpp:51:45: error: 'max' was not declared in this scope
   51 |                                         ans=max(ans,dp[i][j][k]);
      |                                             ^~~
0_0_39134529_15137.cpp:53:17: error: 'cout' was not declared in this scope
   53 |                 cout<<ans<<endl;
      |                 ^~~~
0_0_39134529_15137.cpp:53:17: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
0_0_39134529_15137.cpp:53:28: error: 'endl' was not declared in this scope
   53 |                 cout<<ans<<endl;
      |                            ^~~~
0_0_39134529_15137.cpp:1:1: note: 'std::endl' is defined in header '<ostream>'; did you forget to '#include <ostream>'?
  +++ |+#include <ostream>
    1 | #iclude<bits/stdc++.h


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-12-01 20:19:50, Gzip enabled