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_39181546_31173.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_39181546_31173.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_39181546_31173.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_39181546_31173.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_39181546_31173.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_39181546_31173.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_39181546_31173.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_39181546_31173.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_39181546_31173.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_39181546_31173.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_39181546_31173.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_39181546_31173.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_39181546_31173.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_39181546_31173.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_39181546_31173.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_39181546_31173.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_39181546_31173.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_39181546_31173.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_39181546_31173.cpp:1:1: error: 'include' does not name a type
    1 | include<bits/stdc++.h>
      | ^~~~~~~
0_0_39181546_31173.cpp: In function 'int read()':
0_0_39181546_31173.cpp:12:17: error: 'getchar' was not declared in this scope
   12 |         char ch=getchar();
      |                 ^~~~~~~
0_0_39181546_31173.cpp:1:1: note: 'getchar' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
  +++ |+#include <cstdio>
    1 | include<bits/stdc++.h>
0_0_39181546_31173.cpp: In function 'void solve()':
0_0_39181546_31173.cpp:27:9: error: 'memset' was not declared in this scope
   27 |         memset(dp,-1,sizeof(dp));
      |         ^~~~~~
0_0_39181546_31173.cpp:1:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
  +++ |+#include <cstring>
    1 | include<bits/stdc++.h>
0_0_39181546_31173.cpp:28:9: error: 'scanf' was not declared in this scope
   28 |         scanf("%s",str);
      |         ^~~~~
0_0_39181546_31173.cpp:29:17: error: 'strlen' was not declared in this scope
   29 |         int len=strlen(str);
      |                 ^~~~~~
0_0_39181546_31173.cpp:29:17: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_39181546_31173.cpp:43:44: error: 'max' was not declared in this scope; did you mean 'maxn'?
   43 |                                 dp[i+1][j]=max(dp[i][j],dp[i+1][j]);
      |                                            ^~~
      |                                            maxn
0_0_39181546_31173.cpp:69:21: error: 'max' was not declared in this scope; did you mean 'maxn'?
   69 |                 ans=max(ans,dp[len-1][i]);
      |                     ^~~
      |                     maxn
0_0_39181546_31173.cpp:70:9: error: 'printf' was not declared in this scope
   70 |         printf("%d\n",ans);
      |         ^~~~~~
0_0_39181546_31173.cpp:70:9: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
0_0_39181546_31173.cpp: In function 'int main()':
0_0_39181546_31173.cpp:77:9: error: 'scanf' was not declared in this scope
   77 |         scanf("%d",&t);
      |         ^~~~~


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 11:10:04, Gzip enabled