tencent/AutoCodeBenchmark · Datasets at Hugging Face
huggingface.co · 2,554 words · saved by 1 readers
We’re on a journey to advance and democratize artificial intelligence through open source and open science.
# 3D Shape Analyzer Problem ## Problem Description You are tasked with implementing a `ShapeAnalyzer` class that can analyze 3D shapes represented as 2D grids of cube heights. Each cell in the grid represents a stack of cubes, where the integer value indicates how many cubes are stacked at that position. The class sho... #include <vector> #include <algorithm> #include <cmath> #include <map> using namespace std; class ShapeAnalyzer { public: // Calculate total surface area considering all cubes in the grid int calculateSurfaceArea(const vector<vector<int>>& grid) { if (grid.empty() ||…
saved by
related reading
- HackerRank - Online Coding Tests and Technical Interviewshackerrank.com
- Agentationagentation.dev
- Best practices for Claude Code - Claude Code Docsanthropic.com
- ekzlib: code libraryekzlib.netlify.app
- Agentationagentation.com
- CodaLab Worksheetsworksheets.codalab.org
- LeetCode-Solutions/0001-1000.md at master · Holychung/LeetCode-Solutionsgithub.com
- GitHub - ccusage/ccusage: npx ccusagegithub.com
- Plus 2: Luyện đọc điền và đọc hiểu chuyên sâu (2024)ngoaingu24h.vn
- Competitive Programmer's Handbookcses.fi
- Anthropic/values-in-the-wild · Datasets at Hugging Facehuggingface.co
- FrontierSWEfrontierswe.com