臨機
り
ん
き
Meanings
1
noun which may take the genitive case particle 'no'
suited to the occasion; expedient; ad hoc
Almost exclusively used in the set phrase 臨機応変 (りんきおうへん), meaning 'flexible, adapting to circumstances'. The standalone use is rare and literary.
臨機応変 is a four-character idiom meaning to respond flexibly according to the situation.
This problem requires an ad hoc measure.