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_22158726_31934.cpp:1:1: error: 'include' does not name a type
 include <stdio.h>
 ^
0_0_22158726_31934.cpp: In function 'int main()':
0_0_22158726_31934.cpp:49:28: error: 'scanf' was not declared in this scope
  while(scanf("%d\n", &width) && width) 
                            ^
0_0_22158726_31934.cpp:52:16: error: 'gets' was not declared in this scope
   while(gets(ch) && strlen(ch)) 
                ^
0_0_22158726_31934.cpp:57:40: error: 'sscanf' was not declared in this scope
     sscanf(ch+pos, "%s", word[word_num]);
                                        ^
0_0_22158726_31934.cpp:72:27: error: 'printf' was not declared in this scope
     printf("%s\n", word[k]);
                           ^
0_0_22158726_31934.cpp:80:25: error: 'printf' was not declared in this scope
     printf("%s", word[i]);
                         ^
0_0_22158726_31934.cpp:83:17: error: 'putchar' was not declared in this scope
      putchar(' ');
                 ^
0_0_22158726_31934.cpp:85:40: error: 'printf' was not declared in this scope
    printf("%s\n", word[line[k] + k - 1]);
                                        ^
0_0_22158726_31934.cpp:88:14: error: 'printf' was not declared in this scope
   printf("\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-30 06:19:02, Gzip enabled