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_35586636_21256.cpp:5:1: error: stray '\' in program
 map<char,int>mp={{\'A\',0},{\'C\',1},{\'G\',2},{\'T\',3},{\'-\',4}};
 ^
0_0_35586636_21256.cpp:5:1: error: missing terminating ' character
0_0_35586636_21256.cpp:8:5: error: stray '\' in program
     int q;scanf(\"%d\",&q);
     ^
0_0_35586636_21256.cpp:8:5: error: missing terminating " character
0_0_35586636_21256.cpp:23:9: error: stray '\' in program
         printf(\"%d\\n\",dp[n1][n2]);
         ^
0_0_35586636_21256.cpp:23:9: error: missing terminating " character
0_0_35586636_21256.cpp:6:1: error: expected primary-expression before 'int'
 int cost[6][6]={{5,-1,-2,-1,-3},{-1,5,-3,-2,-4},{-2,-3,5,-2,-2},{-1,-2,-2,5,-1},{-3,-4,-2,-1,-INF}},dp[105][105];
 ^
0_0_35586636_21256.cpp:6:1: error: expected '}' before 'int'
0_0_35586636_21256.cpp:6:1: error: expected '}' before 'int'
0_0_35586636_21256.cpp:6:1: error: could not convert '{{<expression error>}}' from '<brace-enclosed initializer list>' to 'std::map<char, int>'
0_0_35586636_21256.cpp:6:1: error: expected ',' or ';' before 'int'


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 07:25:09, Gzip enabled