1946: The Dimension of an Array
内存限制:128 MB
时间限制:1.000 S
评测方式:文本比较
命题人:
提交:41
解决:38
题目描述
given a declaration of an Array
1)if it is correct,check and output the dimension of the array(the dimension<=4)
2)if it is wrong,output "syntax error"
输入
there are many cases,for each case,input a string
输出
as required
样例输入 复制
int a[2];
int b[2][3];
int c[[5];
样例输出 复制
one-dimension
two-dimension
syntax error