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_26576354_3660.cpp:1:15: error: 'string' was not declared in this scope
 int get_score(string& s1,string& s2)//将s1连到s2后面所能得到的分数
               ^
0_0_26576354_3660.cpp:1:23: error: 's1' was not declared in this scope
 int get_score(string& s1,string& s2)//将s1连到s2后面所能得到的分数
                       ^
0_0_26576354_3660.cpp:1:26: error: 'string' was not declared in this scope
 int get_score(string& s1,string& s2)//将s1连到s2后面所能得到的分数
                          ^
0_0_26576354_3660.cpp:1:34: error: 's2' was not declared in this scope
 int get_score(string& s1,string& s2)//将s1连到s2后面所能得到的分数
                                  ^
0_0_26576354_3660.cpp:1:36: error: expression list treated as compound expression in initializer [-fpermissive]
 int get_score(string& s1,string& s2)//将s1连到s2后面所能得到的分数
                                    ^
0_0_26576354_3660.cpp:2:1: error: expected ',' or ';' before '{' token
 {
 ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-02-18 15:58:25, Gzip enabled