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_19512187_16768.cpp:1:19: error: 'ord' was not declared in this scope
         int pos = ord.find('s');
                   ^
0_0_19512187_16768.cpp:3:9: error: expected unqualified-id before 'if'
         if (pos == 2){
         ^
0_0_19512187_16768.cpp:7:9: error: expected unqualified-id before 'else'
         else{
         ^
0_0_19512187_16768.cpp:13:9: error: expected unqualified-id before 'while'
         while (isalnum(ord[b]) || ord[b] == ' ' || ord[b] == '_'){
         ^
0_0_19512187_16768.cpp:16:9: error: expected unqualified-id before 'if'
         if (!ord.substr(a, b - a).empty())
         ^
0_0_19512187_16768.cpp:19:9: error: 'a' does not name a type
         a = b + 1;
         ^
0_0_19512187_16768.cpp:20:9: error: 'b' does not name a type
         b = a;
         ^
0_0_19512187_16768.cpp:21:9: error: expected unqualified-id before 'while'
         while (isalnum(ord[b]) || ord[b] == ' ' || ord[b] == '_'){
         ^
0_0_19512187_16768.cpp:24:9: error: 'str' does not name a type
         str = ord.substr(a, b - a);
         ^


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-07-05 14:15:24, Gzip enabled