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_38582993_8387.cpp: In function 'int main()':
0_0_38582993_8387.cpp:13:23: error: 'strlen' was not declared in this scope
   for (int i = 0; i < strlen(words); i++) {
                       ^~~~~~
0_0_38582993_8387.cpp:13:23: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38582993_8387.cpp:4:1:
+#include <cstring>
 using namespace std;
0_0_38582993_8387.cpp:13:23:
   for (int i = 0; i < strlen(words); i++) {
                       ^~~~~~
0_0_38582993_8387.cpp:19:23: error: 'strlen' was not declared in this scope
   for (int i = 0; i < strlen(words); i++) {
                       ^~~~~~
0_0_38582993_8387.cpp:19:23: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38582993_8387.cpp:28:23: error: 'strlen' was not declared in this scope
   for (int i = 0; i < strlen(words); i++) {
                       ^~~~~~
0_0_38582993_8387.cpp:28:23: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38582993_8387.cpp:34:23: error: 'strlen' was not declared in this scope
   for (int i = 0; i < strlen(words); i++) {
                       ^~~~~~
0_0_38582993_8387.cpp:34:23: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38582993_8387.cpp:43:23: error: 'strlen' was not declared in this scope
   for (int i = 0; i < strlen(words); i++) {
                       ^~~~~~
0_0_38582993_8387.cpp:43:23: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38582993_8387.cpp:50:23: error: 'strlen' was not declared in this scope
   for (int i = 0; i < strlen(words); i++) {
                       ^~~~~~
0_0_38582993_8387.cpp:50:23: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38582993_8387.cpp:59:23: error: 'strlen' was not declared in this scope
   for (int i = 0; i < strlen(words); i++) {
                       ^~~~~~
0_0_38582993_8387.cpp:59:23: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38582993_8387.cpp:65:23: error: 'strlen' was not declared in this scope
   for (int i = 0; i < strlen(words); i++) {
                       ^~~~~~
0_0_38582993_8387.cpp:65:23: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?


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-26 12:24:30, Gzip enabled