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_39621282_28032.cpp: In function 'void slove()':
0_0_39621282_28032.cpp:72:2: error: invalid operands of types 'std::string [n]' {aka 'std::__cxx11::basic_string<char> [n]'} and 'std::string*' {aka 'std::__cxx11::basic_string<char>*'} to binary 'operator+'
   72 | s+=s;
      | ~^~~
0_0_39621282_28032.cpp:72:2: note:   in evaluation of 'operator+=(std::string [n] {aka class std::__cxx11::basic_string<char> [n]}, std::string* {aka class std::__cxx11::basic_string<char>*})'


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-25 03:35:05, Gzip enabled