P11362 [AOJ] Memory Leak
普及
题目描述

Time Limit: 8 sec / Memory Limit: 64 MB

Example

Input

100
A=malloc(10)
B=clone(A)
free(A)

Output

0

输入格式

见题面

输出格式

见题面

样例输入
100 A=malloc(10) B=clone(A) free(A)
样例输出
0