LeetCode Game With Sticks
来源:互联网 发布:网络电影市场 编辑:程序博客网 时间:2024/05/29 04:48
题目链接:http://codeforces.com/contest/451/problem/A
import java.util.Scanner;public class Game_With_Sticks {public static void main(String[] args) {Scanner scanner = new Scanner(System.in);int n = scanner.nextInt();int m = scanner.nextInt();//奇数次Akshat赢,偶数次Malvikaint temp = Math.min(n, m);if(temp % 2== 0) {System.out.println("Malvika");} else {System.out.println("Akshat");}}}
阅读全文
0 0
- LeetCode Game With Sticks
- A. Game With Sticks
- A. Game With Sticks
- 451 A. Game With Sticks
- 451A - Game With Sticks
- codeforces 258 A Game With Sticks(水题)
- Codeforces 451A Game With Sticks
- Codeforces 451A Game With Sticks(水题)
- Game With Sticks codeforces +水题==
- Codeforces 451A Game With Sticks
- Codeforces 451 A . Game With Sticks
- CF 258A. Game With Sticks
- codeforces 451A Game With Sticks
- Codeforces #258 (Div. 2) A. Game With Sticks
- Codeforces Round #258 (Div. 2)1A Game With Sticks
- Code forces #258 div2 A.Game With Sticks
- Codeforces Div. 2 #258-A. Game With Sticks
- Codeforces Round #258 (Div. 2) A. Game With Sticks
- iOS 工厂设计模式解耦和
- SciPy-数值计算库
- sht10裸机程序分析(与cc2530进行通讯)
- Camera-Radar Fusion
- 关于IIS的Error503错误
- LeetCode Game With Sticks
- Android 集成Tinker的Gradle配置文件
- Spring的事务处理
- mysql 根据关联查询结果 修改 或者 添加 数据
- 初学数组并使用数组编写九九乘法表
- NAPT和NATD
- MyLayout和XIB或SB的混合使用方法
- IP地址 网段的划分
- matlab的使用问题(—):每次双击.m文件都会自动打开一个matlab程序