horcrux2301 / afcp Goto Github PK
View Code? Open in Web Editor NEWCompetitive Programming Contests Automation Package for text editor Atom.
Home Page: https://atom.io/packages/afcp
License: MIT License
Competitive Programming Contests Automation Package for text editor Atom.
Home Page: https://atom.io/packages/afcp
License: MIT License
Consider a problem with long output like 8-10 lines, in order to verify my output and correct output I have to drag both the files side by side and then compare it. It is time consuming and defies the purpose of this plugin.
Suggested Alternative: You may add notification of evaluation of test case, rather than output the file. It will solve the purpose as all I will need to know is that whether I passed the test case or not rather than the output.
You may use diff
as a tool to enhance the scheme I proposed. Consider:
000 ---> 0 0 0
123 ---> 1 2 3
123 ---> 1 2 3
Though output seems similar but there will be wrong answer because of spaces between digits. Using diff
will solve the problem, and also highlight the differences.
[Enter steps to reproduce:]
Atom: 1.53.0 x64
Electron: 6.1.12
OS: Microsoft Windows 10 Home Single Language
Thrown From: AFCP package 0.8.20
Uncaught TypeError: Cannot read property 'lastIndexOf' of undefined
At C:\Users\praty\.atom\packages\AFCP\lib\cp-automation.js:248
TypeError: Cannot read property 'lastIndexOf' of undefined
at Object.compile (/packages/AFCP/lib/cp-automation.js:248:35)
at HTMLElement.cpAutomationCompile (/packages/AFCP/lib/cp-automation.js:121:43)
at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.53.0/resources/app/static/<embedded>:11:350265)
at KeymapManager.dispatchCommandEvent (~/AppData/Local/atom/app-1.53.0/resources/app/static/<embedded>:11:1230852)
at KeymapManager.handleKeyboardEvent (~/AppData/Local/atom/app-1.53.0/resources/app/static/<embedded>:11:1226986)
at WindowEventHandler.handleDocumentKeyEvent (~/AppData/Local/atom/app-1.53.0/resources/app/static/<embedded>:11:284919)
-2:02.5.0 core:move-up (input.hidden-input)
-2:02.2.0 core:move-right (input.hidden-input)
26x -2:01.5.0 core:move-left (input.hidden-input)
58x -1:58.3.0 core:select-right (input.hidden-input)
-1:55 core:select-left (input.hidden-input)
12x -1:54.4.0 core:move-left (input.hidden-input)
-1:53.8.0 core:move-down (input.hidden-input)
24x -1:53.6.0 core:move-left (input.hidden-input)
-1:51 core:move-down (input.hidden-input)
2x -1:50.6.0 core:move-left (input.hidden-input)
-1:47.5.0 cp-automation:compile (input.hidden-input)
-1:30.1.0 grammar-selector:show (atom-text-editor.editor.is-focused)
-0:59.5.0 cp-automation:compile (input.hidden-input)
-0:42.2.0 core:move-down (input.hidden-input)
2x -0:42 core:move-left (input.hidden-input)
-0:39.3.0 cp-automation:compile (input.hidden-input)
AFCP 0.8.20
atom-material-ui 2.1.3
gpp-compiler 3.0.7
script 3.26.0
slack-ui 0.8.0
This plugin is very helpful, but I how can I add a file to every problem folder while it is parsed? I use "ip.txt" as input file and I have configured with atom comfortably for running test case manually.
I want to create that file in the problem folder when I parse contest.
Thanks for this amazing plugin.
It has support for many websites
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.