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_24833818_32300.cpp: In function 'int kmp(char*, char*)':
0_0_24833818_32300.cpp:32:52: error: 'strlen' was not declared in this scope
   int sourceStringLength = (int)strlen(sourceString);
                                                    ^
0_0_24833818_32300.cpp: In function 'bool convertCodonIntoAminoAcid(char*, char*&, int)':
0_0_24833818_32300.cpp:62:36: error: 'strcmp' was not declared in this scope
       if (strcmp(codon, endCodon[i]) == 0) {
                                    ^
0_0_24833818_32300.cpp:66:37: error: 'strcmp' was not declared in this scope
       if (strcmp(codon, endCodon2[i]) == 0) {
                                     ^
0_0_24833818_32300.cpp: In function 'bool solveAction(int, int, char*)':
0_0_24833818_32300.cpp:157:33: error: 'strlen' was not declared in this scope
   int length = (int)strlen(input);
                                 ^
0_0_24833818_32300.cpp:161:32: error: 'strncpy' was not declared in this scope
     strncpy(codon, input + i, 3);
                                ^
0_0_24833818_32300.cpp: In function 'int main(int, const char**)':
0_0_24833818_32300.cpp:181:26: error: 'strcmp' was not declared in this scope
     if (strcmp(input, "*") == 0) {
                          ^


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-23 05:09:10, Gzip enabled