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_26349775_17451.cpp:9:2: error: 'nbsp' was not declared in this scope
     {
  ^
0_0_26349775_17451.cpp:9:13: error: expected constructor, destructor, or type conversion before ';' token
     {
             ^
0_0_26349775_17451.cpp:9:15: error: expected unqualified-id before '{' token
     {
               ^
0_0_26349775_17451.cpp: In function 'int get1(char)':
0_0_26349775_17451.cpp:19:2: error: 'nbsp' was not declared in this scope
     if(a=='A')return 1;
  ^
0_0_26349775_17451.cpp:20:15: error: 'else' without a previous 'if'
     else if(a=='C')return 2;
               ^
0_0_26349775_17451.cpp:21:15: error: 'else' without a previous 'if'
     else if(a=='G')return 3;
               ^
0_0_26349775_17451.cpp:22:15: error: 'else' without a previous 'if'
     else if(a=='T')return 4;
               ^
0_0_26349775_17451.cpp:23:15: error: 'else' without a previous 'if'
     else return 5;
               ^
0_0_26349775_17451.cpp: In function 'int val(char, char)':
0_0_26349775_17451.cpp:27:2: error: 'nbsp' was not declared in this scope
     return num[get1(a)][get1(b)];
  ^
0_0_26349775_17451.cpp: In function 'int main()':
0_0_26349775_17451.cpp:31:2: error: 'nbsp' was not declared in this scope
     int n;
  ^


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-17 00:17:19, Gzip enabled