Cody

Problem 3031. Expression or variable?

Test if arguments of the function are all variables (workspace variables names). Return 1 if yes, 0 if no.

For example :

a=1;

b=2;

c=3;

  • are_variables(a,b) -> 1
  • are_variables(a,b,1) -> 0

Easy ?

Solution Stats

34.62% Correct | 65.38% Incorrect
Last solution submitted on May 27, 2019

Problem Comments

Solution Comments

Recent Solvers13

Suggested Problems

More from this Author45

Tags