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_33996417_16999.cpp:2:1: error: 'usingnamespace' does not name a type
 usingnamespace std;
 ^
0_0_33996417_16999.cpp: In function 'int intmain()':
0_0_33996417_16999.cpp:7:22: error: 'gets' was not declared in this scope
        while(gets(str)!=NULL)
                      ^
0_0_33996417_16999.cpp:12:22: error: 'stringtem' was not declared in this scope
                      stringtem="";
                      ^
0_0_33996417_16999.cpp:14:22: error: 'tem' was not declared in this scope
                      tem=tem+str[i]+str[i+1];
                      ^
0_0_33996417_16999.cpp:23:49: error: 'printf' was not declared in this scope
                                     printf("“");  
                                                 ^
0_0_33996417_16999.cpp:28:48: error: 'printf' was not declared in this scope
                                    printf("”");  
                                                ^
0_0_33996417_16999.cpp:35:34: error: 'printf' was not declared in this scope
                      printf(",");t++;
                                  ^
0_0_33996417_16999.cpp:39:34: error: 'printf' was not declared in this scope
                      printf("。");t++;
                                  ^
0_0_33996417_16999.cpp:43:34: error: 'printf' was not declared in this scope
                      printf("!");t++;
                                  ^
0_0_33996417_16999.cpp:47:34: error: 'printf' was not declared in this scope
                      printf("《");t++;
                                  ^
0_0_33996417_16999.cpp:52:34: error: 'printf' was not declared in this scope
                      printf("》");t++;i++;
                                  ^
0_0_33996417_16999.cpp:56:34: error: 'printf' was not declared in this scope
                      printf("?");
                                  ^
0_0_33996417_16999.cpp:60:40: error: 'printf' was not declared in this scope
                      printf("%c",str[i]);
                                        ^
0_0_33996417_16999.cpp:62:26: error: 'printf' was not declared in this scope
               printf("\n");
                          ^
0_0_33996417_16999.cpp: At global scope:
0_0_33996417_16999.cpp:67:4: error: expected declaration before '}' token
 }  }
    ^


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-12-02 14:00:45, Gzip enabled