Toggle navigation
HUSTOJ
F.A.Qs
Web Board
ProblemSet
Source/Category
Status
Ranklist
Contest
Recent
Login
Problem1651--exam2-find word
1651: exam2-find word
Time Limit:
1 Sec
Memory Limit:
128 MB
Submit:
149
Solved:
0
[
Submit
] [
Status
] [
Web Board
] [Creator:
]
Description
input a program, output number of words.
Input
a program
Output
number of words
Sample Input
Copy
#define pi 3.14 void main() {int _a;}
Sample Output
Copy
define 1; pi 1; 3.14 1; void 1; main 1; int 1; _a 1.
Source/Category
142