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

33.96% Correct | 66.04% Incorrect
Last Solution submitted on Aug 22, 2019

Problem Comments

Solution Comments

Problem Recent Solvers13

Suggested Problems

More from this Author45

Problem Tags