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_31950857_17934.cpp:1:2: error: invalid preprocessing directive #in
 #in#include<bits/stdc++.h>
  ^
0_0_31950857_17934.cpp: In function 'int main()':
0_0_31950857_17934.cpp:6:21: error: 'scanf' was not declared in this scope
  while(scanf("%d",&m)!=EOF){
                     ^
0_0_31950857_17934.cpp:6:24: error: 'EOF' was not declared in this scope
  while(scanf("%d",&m)!=EOF){
                        ^
0_0_31950857_17934.cpp:8:9: error: 'gets' was not declared in this scope
   gets(s);
         ^
0_0_31950857_17934.cpp:9:17: error: 'strlen' was not declared in this scope
   int O=strlen(s)-1;
                 ^
0_0_31950857_17934.cpp:11:20: error: 'printf' was not declared in this scope
    printf("%c",s[i]);
                    ^
0_0_31950857_17934.cpp:13:13: 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-25 22:31:14, Gzip enabled