Solved by 590 users: ...
UserDateAttemptTimeCMSC
stasg7`03 dec 2009`Ruby400.028
stasg7`03 dec 2009`Ruby500.028
xtender`05 may 2010`Perl500.058
xtender`05 may 2010`Perl1100.058
stasg7`03 dec 2009`Ruby200.0210
david_it21`13 dec 2009`Ruby200.0210
stasg7`03 dec 2009`Ruby300.0210
bush`11 jan 2013`Ruby500.0212
bush`11 jan 2013`Ruby600.0212
bush`11 jan 2013`Ruby300.0215
bush`11 jan 2013`Ruby400.0219
VBart`31 may 2010`Python300.0625
VBart`31 may 2010`Python500.0625
VBart`31 may 2010`Python200.0626
pshen`19 nov 2010`C2000.0127
kronos`09 sep 2009`Ruby300.0228
kronos`09 sep 2009`Ruby100.0230
pshen`19 nov 2010`C++5300.0131
leviato`26 may 2010`C800.0132
leviato`26 may 2010`C900.0132
leviato`09 jun 2010`C1100.0132
pshen`19 nov 2010`C1400.0133
leviato`26 may 2010`C600.0134
gorlum0`30 oct 2010`Ruby100.0235
abortmozga.ru`11 may 2010`C++200.0137
pshen`19 nov 2010`C1200.0137
pshen`19 nov 2010`C++5100.0138
 C++ 313 C 199 Java 26 FPC 20 Kylix 18 Python 10 Ruby 9 Perl 2 Lua 1
` >  >  >  >  >  >  >  >  >  > `

## Conjunction and disjunction [Educational]

Time limit = 1 second(s)

Calculate disjunction or conjunction of 2 boolean variables

^ is conjunction (AND)

v is disjunction (OR)

Input.

2 logical variables (0 or 1), symbol "v" or "^" between them without spaces

Output.

1 number (0 or 1) — result.

 Input#1```1^0 ``` Output#1```0 ```
 Input#2```1v0 ``` Output#2```1 ```

Author:
Simple educational problem. Tests and description by Dmitry Podlesnykh
07 September 2009

 © acm.mipt DevGroupThe page was generated in 190ms