各种问题的资源,以显示不同语言的优点 [英] Diverse resource of problems to show merits of different languages

查看:46
本文介绍了各种问题的资源,以显示不同语言的优点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想学习更多的语言来扩大我的思维",我发现解决问题是最好的学习方法.我一直在用C(有时是C ++)和perl进行大多数编程.使用这些工具,我似乎能够解决遇到的问题,但是您知道当您拿着锤子时,一切看起来都像钉子吗?"这样的表达.我觉得自己陷入了一个单一的范式,我想改变.

I'd like to learn a few more languages to "expand my mind" a bit, and I find working through problems the best way to learn. I have been doing most of my programming in C, sometimes C++, and perl. With these tools, I seem to be able to solve the problems I encounter, but you know the expression "when you have a hammer, everything looks like a nail?" I feel like I am stuck in a single paradigm, and I would like to change.

我正在寻找的资源类似于欧拉计画,但存在更多通用/现实世界的问题(欧拉计画是非常数学的),突出了不同语言的优势.这样的想法将是解决每种语言的问题,并注意用给定语言完成每个问题的相对难度.

What I'm looking for is a resource similar to Project Euler, but with more generic/real world problems(Project Euler is very mathematical) which highlight the benefits of different languages. The idea would then be to work through the problem set with each language and note the relative difficulty of completing each problem in the given language.

1)是否存在这样的资源?

1) Does such a resource exist?

2)您将包括哪些问题?请记住:这些应该显示每种语言的优势.

2) What are some problems you would include? Remember: these should show the strengths of each language.

谢谢!

推荐答案

CodeChef( http://www.codechef. com/)和Sphere Online Judge(> https://www.spoj.pl/problems /classical/)对您来说都是不错的选择.他们的问题不一定是实际的,但与Euler项目相比,它们的数学含义不那么明确,他们的法官接受用多种语言编写的程序. Python Wiki推荐了其他一些( http://wiki.python.org/moin/ProblemSets),但它们不够灵活.

CodeChef (http://www.codechef.com/) and Sphere Online Judge (https://www.spoj.pl/problems/classical/) both look like good options for you. Their problems aren't necessarily practical, but they are less explicitly mathematical than Project Euler, and their judges accepts programs written in plenty of languages. The Python wiki recommends a few others (http://wiki.python.org/moin/ProblemSets), but they aren't quite as flexible.

我都没有使用过任何站点,所以我不建议任何特定的问题.只要确保包含一些逻辑问题,您就可以陶醉在序言中:)

I haven't used either site, so I can't recommend any specific problems. Just make sure to include some logic problems so you can revel in the awesomeness of prolog :)

这篇关于各种问题的资源,以显示不同语言的优点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆