Coder Social home page Coder Social logo

Stuck on Running Test Cases about cph HOT 11 CLOSED

code-quant avatar code-quant commented on July 29, 2024
Stuck on Running Test Cases

from cph.

Comments (11)

code-quant avatar code-quant commented on July 29, 2024 2

Here are the files generated + .cpp file.

Codeforces.zip

from cph.

agrawal-d avatar agrawal-d commented on July 29, 2024

Hi!
This should be fixed in version 0.0.5 of the extension. If you connect to the internet it should automatically get updated. To check force update, open extensions and search for Competitive Programming Helper. Try again after updating from there.

If you still have the bug, I will test your code and try to fix the bug.

from cph.

code-quant avatar code-quant commented on July 29, 2024

I have reinstalled the extension several times. I am still facing same issue. I have also tested it on several codes. Have you tested this extension out of "Extension Development Host" mode. Is this working on other machines?

.testcase file is generated but I opened it, it is blank file.

from cph.

agrawal-d avatar agrawal-d commented on July 29, 2024

.testcase file is generated but I opened it, it is blank file.

This means the extension failed to parse the Codeforces page for testcases. Ill will check out the problem page and see what's causing the issue.

from cph.

agrawal-d avatar agrawal-d commented on July 29, 2024

I've found out the bug. As of now, the extension assumes that each testcase is in a new line. But it appears formatting of testcases is different in the HTML DOM for some problems. I will have to implement a virtual DOM. I will push an update to fix this soon and inform you.

Thank your for reporting the bug.

from cph.

agrawal-d avatar agrawal-d commented on July 29, 2024

I have fixed the issue and pushed an update ( version 0.0.6 ).
Please update the extension and test it, and do let me know if it works/doesn't work, so that I may close the issue.

from cph.

code-quant avatar code-quant commented on July 29, 2024

It seems to be working now but I am getting "Process was killed" .

image

from cph.

code-quant avatar code-quant commented on July 29, 2024

Tested it on other code. It worked like charm.
image

from cph.

agrawal-d avatar agrawal-d commented on July 29, 2024

@code-quant your code is wrong. It is not taking input properly, so it waits for input indefinitely, and thus gets killed in 10 seconds. Should work if you fix your code.

I tested it on a terminal window, and the same thing happens.

from cph.

agrawal-d avatar agrawal-d commented on July 29, 2024

Tested it on other code. It worked like charm.
image

Great!

from cph.

agrawal-d avatar agrawal-d commented on July 29, 2024

Closing issue as it appears to be resolved. If you still have any other issue/feature requests, please create another issue.

from cph.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.