#CCBCHBAHAI0000104. Phân loại int a[n] theo C90/C99/C11/C17
Phân loại int a[n] theo C90/C99/C11/C17
Classify int a[n] in C90/C99/C11/C17
Source: Phuoc Hung OJ
Version: Phuoc Hung OJ Extended
Problem
Consider int a[n]; where is a positive run-time value and therefore is not an integer constant expression. This is a variable length array (VLA) when supported. Use the labels NOT_STANDARD, VLA, and OPTIONAL_VLA according to the chapter convention:
Classify each requested C standard.
Input
The first line contains . The second line contains codes from .
Output
Print one classification label for each code.
Subtask
Subtask 1 (20 points): .
Subtask 2 (30 points): .
Subtask 3 (50 points): .
Example
Input
4
90 99 11 17
Output
NOT_STANDARD
VLA
OPTIONAL_VLA
OPTIONAL_VLA
Explanation
C90 has no standard VLA; C99 standardizes VLA; C11 and C17 permit implementations without VLA support.