用python做oj上的简单题(持续更新中.......)
2014-10-13 11:15
519 查看
本人刚开始接触python,在oj上解一些简单的题,欢迎交流,不喜勿喷.
OJ地址链接:acm.sdut.edu.cn
http://acm.sdut.edu.cn/sdutoj/showproblem.php?pid=1110&cid=1278
http://acm.sdut.edu.cn/sdutoj/problem.php?action=showproblem&problemid=1000
http://acm.sdut.edu.cn/sdutoj/showproblem.php?pid=1111&cid=1278
http://acm.sdut.edu.cn/sdutoj/showproblem.php?pid=1117&cid=1279
http://acm.sdut.edu.cn/sdutoj/showproblem.php?pid=1115&cid=1279
http://acm.sdut.edu.cn/sdutoj/showproblem.php?pid=1208&cid=1279
http://acm.sdut.edu.cn/sdutoj/showproblem.php?pid=1116&cid=1279
OJ地址链接:acm.sdut.edu.cn
http://acm.sdut.edu.cn/sdutoj/showproblem.php?pid=1110&cid=1278
#!/usr/bin/env python # coding=utf-8 print 'Hello World!'
http://acm.sdut.edu.cn/sdutoj/problem.php?action=showproblem&problemid=1000
#!/usr/bin/env python # coding=utf-8 a=raw_input().split() print int(a[0])+int(a[1])
http://acm.sdut.edu.cn/sdutoj/showproblem.php?pid=1111&cid=1278
#!/usr/bin/env python # coding=utf-8 print '100' print 'A' print '3.140000'
http://acm.sdut.edu.cn/sdutoj/showproblem.php?pid=1117&cid=1279
#!/usr/bin/env python # coding=utf-8 x = input() print abs(x)
http://acm.sdut.edu.cn/sdutoj/showproblem.php?pid=1115&cid=1279
#!/usr/bin/env python # coding=utf-8 x = raw_input().split() print x[1],x[0]
http://acm.sdut.edu.cn/sdutoj/showproblem.php?pid=1208&cid=1279
#!/usr/bin/env python # coding=utf-8 f = input() c = 5*(f - 32)/9 print ("%.2f"% c)
http://acm.sdut.edu.cn/sdutoj/showproblem.php?pid=1116&cid=1279
#!/usr/bin/env python # coding=utf-8 import string x = raw_input() print x.upper()
相关文章推荐
- 用python做oj上的简单题(持续更新中.......)
- 用python做oj上的简单题(持续更新中.......)
- leetcode python 简单难度 解答版本(持续更新)
- 【Python】Python3.3的不同(持续更新中)
- [python]Learn to program (持续更新)
- Python 实现简单的C/S在线更新程序
- python及python web资料链接(持续更新中...)
- 各种小问题,各种简单的问题..持续更新.....
- 【Python】【学习笔记】持续更新
- Python学习—持续更新
- java中常用jar包简单介绍(持续更新)
- python 学习笔记 持续更新中
- linux 简单的makefile demo 持续更新
- Python各种安装模块下载地址(持续更新……)
- [更新Github地址]python学习,自己写了个简单聊天工具mychat
- 持续更新:Python-string函数例子
- 查找""排序""简单数学计算" "简单算法"[Java实现](数据结构和算法)(复习)(持续更新
- 基于HTML5的简单游戏动画Demo_持续更新中
- 一个简单CMS系统的粗略表结构记录——持续更新