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_38367286_26526.cpp:1:2: error: stray '#' in program
 a#include <bits/stdc++.h>
  ^
0_0_38367286_26526.cpp:1:1: error: 'a' does not name a type
 a#include <bits/stdc++.h>
 ^
0_0_38367286_26526.cpp: In function 'void AC::init()':
0_0_38367286_26526.cpp:12:37: error: 'memset' was not declared in this scope
         memset(fail, 0, sizeof(fail));
                                     ^
0_0_38367286_26526.cpp: At global scope:
0_0_38367286_26526.cpp:20:17: error: variable or field 'insert' declared void
     void insert(string s, int id) {  // id 表示原始字符串的编号
                 ^
0_0_38367286_26526.cpp:20:17: error: 'string' was not declared in this scope
0_0_38367286_26526.cpp:20:27: error: expected primary-expression before 'int'
     void insert(string s, int id) {  // id 表示原始字符串的编号
                           ^
0_0_38367286_26526.cpp:103:1: error: expected '}' at end of input
 }
 ^


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-23 05:05:37, Gzip enabled