0_0_39215538_20398.cpp: In function 'int main()':
0_0_39215538_20398.cpp:8:11: error: 'scanf' was not declared in this scope
8 | while(scanf("%d %d",&n,&m)!=EOF){
| ^~~~~
0_0_39215538_20398.cpp:8:33: error: 'EOF' was not declared in this scope
8 | while(scanf("%d %d",&n,&m)!=EOF){
| ^~~
0_0_39215538_20398.cpp:1:1: note: 'EOF' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
+++ |+#include <cstdio>
1 | using namespace std;
0_0_39215538_20398.cpp:11:9: error: 'memset' was not declared in this scope
11 | memset(stuMap,0,60*10*sizeof(ElemType));
| ^~~~~~
0_0_39215538_20398.cpp:1:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
+++ |+#include <cstring>
1 | using namespace std;
0_0_39215538_20398.cpp:16:17: error: 'cin' was not declared in this scope
16 | cin >> stuMap[i][j];
| ^~~
0_0_39215538_20398.cpp:1:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
+++ |+#include <iostream>
1 | using namespace std;
0_0_39215538_20398.cpp:22:13: error: 'printf' was not declared in this scope
22 | printf("%.2lf%c",stu[i]/m,i!=n-1?' ':'\n');
| ^~~~~~
0_0_39215538_20398.cpp:22:13: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
0_0_39215538_20398.cpp:26:13: error: 'printf' was not declared in this scope
26 | printf("%.2lf%c",grade[i],i!=m-1?' ':'\n');
| ^~~~~~
0_0_39215538_20398.cpp:26:13: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
0_0_39215538_20398.cpp:41:9: error: 'cout' was not declared in this scope
41 | cout << num << endl;
| ^~~~
0_0_39215538_20398.cpp:41:9: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
0_0_39215538_20398.cpp:41:24: error: 'endl' was not declared in this scope
41 | cout << num << endl;
| ^~~~
0_0_39215538_20398.cpp:1:1: note: 'std::endl' is defined in header '<ostream>'; did you forget to '#include <ostream>'?
+++ |+#include <ostream>
1 | using namespace std;
0_0_39215538_20398.cpp:43:5: error: 'retu' was not declared in this scope
43 | retu
| ^~~~
0_0_39215538_20398.cpp:43:9: error: expected '}' at end of input
43 | retu
| ^
0_0_39215538_20398.cpp:6:1: note: to match this '{'
6 | {
| ^
|