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_19394265_8649.cpp:15:40: error: stray '#' in program
    last++;<pre name="code" class="cpp">#include <iostream>
                                        ^
0_0_19394265_8649.cpp: In function 'char* change(char*)':
0_0_19394265_8649.cpp:15:11: error: expected primary-expression before '<' token
    last++;<pre name="code" class="cpp">#include <iostream>
           ^
0_0_19394265_8649.cpp:15:12: error: 'pre' was not declared in this scope
    last++;<pre name="code" class="cpp">#include <iostream>
            ^
0_0_19394265_8649.cpp:18:21: error: a function-definition is not allowed here before '{' token
 char *change(char*s){   //运用指针定位字符串的首字母
                     ^
0_0_19394265_8649.cpp:46:1: error: expected '}' at end of input
 }
 ^
0_0_19394265_8649.cpp:46:1: error: expected '}' at end of input
0_0_19394265_8649.cpp:46: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-25 11:37:05, Gzip enabled