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_38743978_21624.cpp:9:3: error: stray '#' in program
    9 | } #include<iostream>
      |   ^
0_0_38743978_21624.cpp:9:4: error: 'include' does not name a type
    9 | } #include<iostream>
      |    ^~~~~~~
0_0_38743978_21624.cpp:12:11: error: redefinition of 'const long long int N'
   12 | const int N = 3e6;
      |           ^
0_0_38743978_21624.cpp:4:11: note: 'const long long int N' previously defined here
    4 | const int N = 3e6;
      |           ^
0_0_38743978_21624.cpp:13:5: error: redefinition of 'long long int T'
   13 | int T,q,n,t[N][65],cnt[N],idx;
      |     ^
0_0_38743978_21624.cpp:5:5: note: 'long long int T' previously declared here
    5 | int T,q,n,t[N][65],cnt[N],idx;
      |     ^
0_0_38743978_21624.cpp:13:7: error: redefinition of 'long long int q'
   13 | int T,q,n,t[N][65],cnt[N],idx;
      |       ^
0_0_38743978_21624.cpp:5:7: note: 'long long int q' previously declared here
    5 | int T,q,n,t[N][65],cnt[N],idx;
      |       ^
0_0_38743978_21624.cpp:13:9: error: redefinition of 'long long int n'
   13 | int T,q,n,t[N][65],cnt[N],idx;
      |         ^
0_0_38743978_21624.cpp:5:9: note: 'long long int n' previously declared here
    5 | int T,q,n,t[N][65],cnt[N],idx;
      |         ^
0_0_38743978_21624.cpp:13:11: error: redefinition of 'long long int t [3000000][65]'
   13 | int T,q,n,t[N][65],cnt[N],idx;
      |           ^
0_0_38743978_21624.cpp:5:11: note: 'long long int t [3000000][65]' previously declared here
    5 | int T,q,n,t[N][65],cnt[N],idx;
      |           ^
0_0_38743978_21624.cpp:13:20: error: redefinition of 'long long int cnt [3000000]'
   13 | int T,q,n,t[N][65],cnt[N],idx;
      |                    ^~~
0_0_38743978_21624.cpp:5:20: note: 'long long int cnt [3000000]' previously declared here
    5 | int T,q,n,t[N][65],cnt[N],idx;
      |                    ^~~
0_0_38743978_21624.cpp:13:27: error: redefinition of 'long long int idx'
   13 | int T,q,n,t[N][65],cnt[N],idx;
      |                           ^~~
0_0_38743978_21624.cpp:5:27: note: 'long long int idx' previously declared here
    5 | int T,q,n,t[N][65],cnt[N],idx;
      |                           ^~~
0_0_38743978_21624.cpp:14:8: error: redefinition of 'std::string s [10007]'
   14 | string s[10007];
      |        ^
0_0_38743978_21624.cpp:6:8: note: 'std::string s [10007]' previously declared here
    6 | string s[10007];
      |        ^
0_0_38743978_21624.cpp:15:5: error: redefinition of 'long long int getnum(char)'
   15 | int getnum(char x){
      |     ^~~~~~
0_0_38743978_21624.cpp:7:5: note: 'long long int getnum(char)' previously defined here
    7 | int getnum(char x){
      |     ^~~~~~
0_0_38743978_21624.cpp:66:6: error: redefinition of 'void insert(std::string)'
   66 | void insert(string str){
      |      ^~~~~~
0_0_38743978_21624.cpp:18:6: note: 'void insert(std::string)' previously defined here
   18 | void insert(string str){
      |      ^~~~~~
0_0_38743978_21624.cpp:76:5: error: redefinition of 'long long int find(std::string)'
   76 | int find(string str){
      |     ^~~~
0_0_38743978_21624.cpp:28:5: note: 'long long int find(std::string)' previously defined here
   28 | int find(string str){
      |     ^~~~
0_0_38743978_21624.cpp:86:8: error: redefinition of 'int main()'
   86 | signed main(){
      |        ^~~~
0_0_38743978_21624.cpp:38:8: note: 'int main()' previously defined here
   38 | signed main(){
      |        ^~~~


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-01 16:18:40, Gzip enabled