lingo
2016-04-13 20:17
375 查看
calc 数据计算字段
不能含有变量,必须是已知数据的计算???
#include<iostream> #include<cstdio> #include<algorithm> using namespace std;
int main() {
int m,n; while(cin>>n>>m) { int t=m+n; if((t/2)%2) cout<<"Akshat"<<endl; else cout<<"Malvika"<<endl; } return 0; }
不能含有变量,必须是已知数据的计算???
#include<iostream> #include<cstdio> #include<algorithm> using namespace std;
int main() {
int m,n; while(cin>>n>>m) { int t=m+n; if((t/2)%2) cout<<"Akshat"<<endl; else cout<<"Malvika"<<endl; } return 0; }
相关文章推荐
- USACO2016 January Gold Angry Cows
- Go-Agent部署与FQ教程-Windows版
- 【Leetcode】:Single Number II问题 in Go语言
- protobuf 最新版本编译 Google Protobuf 3.0.1
- 简单实现Google play 横向RecyclerListView效果
- 《A Tutorial on Automated Text Categorisation》NOTE
- LeetCode Algorithms #102 <Binary Tree Level Order Traversal>
- 一、go语言基础流程控制,语法,反射特性--go语言笔记
- Django Admin - 将model的Add(增加功能去掉)
- django定期执行任务
- 编写一个go gRPC的服务
- Got error: 1556: You can't use locks with log tables
- google hash表之dense_hash
- 从搜索结果中进入Product面包屑也包含Category Path
- Go1.6与JVM CMS的垃圾回收对比
- GoldenGate之目录详解
- Why is try {…} finally {…} good; try {…} catch{} bad?
- VNC Viewer远程登录服务器时 点了logout
- 谷歌推出最新图像识别工具Google Cloud Vision API
- I.MX6 driver goto 使用