Code analyzers can easily find not-so-obvious errors. Want to compete? Try to beat PVS-Studio!
We chose 10 code fragments where the analyzer found errors. These fragments are from well-known open-source projects. If you can find an error in under 60 seconds, you score 1 point. The code fragments are small, so 60 seconds is a fair limit.
Good luck!
{"uid": "csharp", "time": {"ru": "~ 15 \u043c\u0438\u043d", "en": "~ 15 min", "fr": "~ 15 min"}, "image": {"ru": "https://cdn.pvs-studio.com/media/quest/Cquiz_thm__-x-.png", "fr": "https://cdn.pvs-studio.com/media/quest/Cquiz_thm__-x-.png", "en": "https://cdn.pvs-studio.com/media/quest/Cquiz_thm__-x-.png"}, "text": {"ru": "\u0410\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u044b \u043a\u043e\u0434\u0430 \u043b\u0435\u0433\u043a\u043e \u0438 \u0431\u044b\u0441\u0442\u0440\u043e \u0443\u043c\u0435\u044e\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043e\u0448\u0438\u0431\u043e\u043a, \u043d\u0435 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u0445 \u0441 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0432\u0437\u0433\u043b\u044f\u0434\u0430. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u043f\u043e\u0441\u043e\u0440\u0435\u0432\u043d\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0441 PVS-Studio \u0432 \u043f\u0440\u043e\u0437\u043e\u0440\u043b\u0438\u0432\u043e\u0441\u0442\u0438!\r\n\r\n\u041c\u044b \u0432\u044b\u0431\u0440\u0430\u043b\u0438 10 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u043e\u0432 \u043a\u043e\u0434\u0430, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0430\u0448 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440 \u043d\u0430\u0448\u0451\u043b \u043e\u0448\u0438\u0431\u043a\u0438. \u0412\u0441\u0435 \u043e\u043d\u0438 \u0432\u0437\u044f\u0442\u044b \u0438\u0437 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0445 Open Source \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432. \u0415\u0441\u043b\u0438 \u0432\u044b \u0443\u0441\u043f\u0435\u0432\u0430\u0435\u0442\u0435 \u043d\u0430\u0439\u0442\u0438 \u043e\u0448\u0438\u0431\u043a\u0443 \u0437\u0430 60 \u0441\u0435\u043a\u0443\u043d\u0434 \u2014 \u0432\u0430\u043c \u043d\u0430\u0447\u0438\u0441\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0434\u0438\u043d \u0431\u0430\u043b\u043b. \u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u044b \u043a\u043e\u0434\u0430 \u043a\u043e\u0440\u043e\u0442\u043a\u0438\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 60 \u0441\u0435\u043a\u0443\u043d\u0434 \u2014 \u044d\u0442\u043e \u0447\u0435\u0441\u0442\u043d\u043e\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435.\r\n\r\n\u0416\u0435\u043b\u0430\u0435\u043c \u0443\u0434\u0430\u0447\u0438!", "en": "Code analyzers can easily find not-so-obvious errors. Want to compete? Try to beat PVS-Studio!\r\n\r\nWe chose 10 code fragments where the analyzer found errors. These fragments are from well-known open-source projects. If you can find an error in under 60 seconds, you score 1 point. The code fragments are small, so 60 seconds is a fair limit.\r\n\r\nGood luck!", "fr": "Code analyzers can easily find not-so-obvious errors. Want to compete? Try to beat PVS-Studio!\r\n\r\nWe chose 10 code fragments where the analyzer found errors. These fragments are from well-known open-source projects. If you can find an error in under 60 seconds, you score 1 point. The code fragments are small, so 60 seconds is a fair limit.\r\n\r\nGood luck!"}, "title": {"ru": "\u041d\u0430\u0439\u0434\u0438\u0442\u0435 \u043e\u0448\u0438\u0431\u043a\u0438 \u0432 \u0421# \u043a\u043e\u0434\u0435", "en": "PVS-Studio\u2019s challenge: can you spot an error in C# code?", "fr": "PVS-Studio\u2019s challenge: can you spot an error in C# code?"}, "questions": [], "results": []}
False