bloops / topcoditor Goto Github PK
View Code? Open in Web Editor NEWA google chrome extension to parse Topcoder problem statements, and system tests and create skeleton C++ solutions.
A google chrome extension to parse Topcoder problem statements, and system tests and create skeleton C++ solutions.
With reference to the following problem, parsing of the system test cases header file is quite unexpected.
Problem link: http://community.topcoder.com/stat?c=problem_statement&pm=12514
Parsed Solution File: http://ideone.com/gIKJWR (is fine)
Parsed System Test Header File: http://ideone.com/p3AC4e (contains errors).
Hope this time it's a bug. Please see to it. Thanks.
Referring to the following problem on topcoder:
http://community.topcoder.com/stat?c=problem_statement&pm=12436
Parsing is not done as desired, maybe since the problem page does not contain the vector in a single line!
I tried opening the following problem, and submitting it. It gives Runtime error, without any issues in my code. Even returning an empty string and doing nothing in the code has the same bug on example cases. Please fix. Thanks in advance!
Problem link: http://community.topcoder.com/stat?c=problem_statement&pm=11808
Most of us are addicted to using global variables, and arrays and also assign it value at global scope. Such codes give an incorrect response when using topcoditor.
Example: Find the minimum element in an vector a;
#include <iostream>
using namespace std;
int glo = 1e9;
class FindMin {
int getMin(vector <int> a)
{
int n = a.size();
for (int i = 0; i < n; i++) {
glo = min (glo, a[i]);
}
return glo;
}
};
Such a code passes system test on Topcoder arena practice rooms, but fails here.
I tried your extension, and it works fine for example cases, however it does not parse system tests. Please see to it. Thanks in advance
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.