2013-05-08から1日間の記事一覧
ICPCとかいうものがあるので、構文解析を練習することにしました。1155 構文解析とは何か、ということを知りました。 #include<stdio.h> #include<algorithm> #include<string.h> using namespace std; char str[100]; int v[3]; int eq(int a,int b); int ter(int a,int b){ if(str[a]=='(</string.h></algorithm></stdio.h>…