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_39066153_31630.cpp:1:5: error: 'cstdio' was not declared in this scope
    1 | ude<cstdio>
      |     ^~~~~~
0_0_39066153_31630.cpp:1:5: error: 'cstdio' was not declared in this scope
0_0_39066153_31630.cpp:1:5: error: 'cstdio' was not declared in this scope
0_0_39066153_31630.cpp:1:5: error: 'cstdio' was not declared in this scope
0_0_39066153_31630.cpp:1:5: error: 'cstdio' was not declared in this scope
0_0_39066153_31630.cpp:1:5: error: 'cstdio' was not declared in this scope
0_0_39066153_31630.cpp:1:5: error: 'cstdio' was not declared in this scope
0_0_39066153_31630.cpp:1:5: error: 'cstdio' was not declared in this scope
0_0_39066153_31630.cpp:1:5: error: 'cstdio' was not declared in this scope
0_0_39066153_31630.cpp:1:1: error: 'ude' does not name a type
    1 | ude<cstdio>
      | ^~~
0_0_39066153_31630.cpp: In function 'int main()':
0_0_39066153_31630.cpp:8:9: error: 'string' was not declared in this scope
    8 |     map<string,string> m;
      |         ^~~~~~
0_0_39066153_31630.cpp:3:1: note: 'std::string' is defined in header '<string>'; did you forget to '#include <string>'?
    2 | #include<cstring>
  +++ |+#include <string>
    3 | using namespace std;
0_0_39066153_31630.cpp:8:5: error: 'map' was not declared in this scope
    8 |     map<string,string> m;
      |     ^~~
0_0_39066153_31630.cpp:3:1: note: 'std::map' is defined in header '<map>'; did you forget to '#include <map>'?
    2 | #include<cstring>
  +++ |+#include <map>
    3 | using namespace std;
0_0_39066153_31630.cpp:8:24: error: 'm' was not declared in this scope
    8 |     map<string,string> m;
      |                        ^
0_0_39066153_31630.cpp:9:11: error: expected ';' before 'str1'
    9 |     string str1,str2;
      |           ^~~~~
      |           ;
0_0_39066153_31630.cpp:10:5: error: 'cin' was not declared in this scope
   10 |     cin>>str1;
      |     ^~~
0_0_39066153_31630.cpp:3:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
    2 | #include<cstring>
  +++ |+#include <iostream>
    3 | using namespace std;
0_0_39066153_31630.cpp:10:10: error: 'str1' was not declared in this scope
   10 |     cin>>str1;
      |          ^~~~
0_0_39066153_31630.cpp:13:14: error: 'str2' was not declared in this scope
   13 |         cin>>str2;
      |              ^~~~
0_0_39066153_31630.cpp:17:5: error: 'getchar' was not declared in this scope
   17 |     getchar();
      |     ^~~~~~~
0_0_39066153_31630.cpp:3:1: note: 'getchar' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
    2 | #include<cstring>
  +++ |+#include <cstdio>
    3 | using namespace std;
0_0_39066153_31630.cpp:19:11: error: 'gets' was not declared in this scope
   19 |     while(gets(str)&&strcmp(str,"END")!=0)
      |           ^~~~
0_0_39066153_31630.cpp:21:9: error: 'str2' was not declared in this scope; did you mean 'str'?
   21 |         str2="";
      |         ^~~~
      |         str
0_0_39066153_31630.cpp:28:21: error: 'cout' was not declared in this scope
   28 |                     cout<<str2;
      |                     ^~~~
0_0_39066153_31630.cpp:28:21: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
0_0_39066153_31630.cpp:30:21: error: 'cout' was not declared in this scope
   30 |                     cout<<m[str2];
      |                     ^~~~
0_0_39066153_31630.cpp:30:21: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
0_0_39066153_31630.cpp:32:17: error: 'cout' was not declared in this scope
   32 |                 cout<<str[i];
      |                 ^~~~
0_0_39066153_31630.cpp:32:17: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
0_0_39066153_31630.cpp:37:9: error: 'printf' was not declared in this scope
   37 |         printf("\n");
      |         ^~~~~~
0_0_39066153_31630.cpp:37:9: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?


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-29 18:03:06, Gzip enabled