seri / gettc

TopCoder offline arena supporting multiple languages
http://seri.github.io/gettc/
99 stars 19 forks source link

Case 0 ... 1ms Error #15

Closed ghost closed 9 years ago

ghost commented 9 years ago

[gettc] Compile solver [gettc] Compile checker [gettc] Run test cases Case 0 ... 1ms Error Case 1 ... 1ms Error Case 2 ... 1ms Error [gettc] Summary 3 cases checked, 0 failures, 3 errors Errors: 0, 1, 2 Total time taken: 3 ms Average time taken: 1 ms Slowest running case: 1 ms (case 0)

seri commented 9 years ago

Which problem ID got you this error?

ghost commented 9 years ago

I am getting this on all problem ID's. I am not getting failures instead I am getting errors whenever I use make demo or make sys command

seri commented 9 years ago

Can you paste the output for the Compile solver and Compile checker sections? They must be compiled the first time you run make demo. You can force a recompile by make clean and then make demo.

ghost commented 9 years ago

make demo [gettc] Compile solver g++ -std=gnu++0x -I/home/akash/.gettc/include/cpp -o ../../build/cpp/AaagmnrsRunner AaagmnrsRunner.cpp [gettc] Compile checker [gettc] Run test cases Case 0 ... 1ms Error Case 1 ... 1ms Error Case 2 ... 1ms Error [gettc] Summary 3 cases checked, 0 failures, 3 errors Errors: 0, 1, 2 Total time taken: 3 ms Average time taken: 1 ms Slowest running case: 1 ms (case 0)

seri commented 9 years ago

I see. When you look at the directory Aaagmnrs/build/cpp/demo, do you see the files 0.out, 1.out, 2.out? Do they all contain just the string []?

ghost commented 9 years ago

yes the files are present. content of 0.in file [ "Aaagmnrs", "TopCoder", "anagrams", "Drop Cote" ] content of 0.out file [ "Aaagmnrs", "TopCoder" ]

seri commented 9 years ago

These are the files in Aaagmnrs/data/demo. I'm interested in those in Aaagmnrs/build/cpp/demo, which should be generated after make demo.

ghost commented 9 years ago

No files are generated in directory Aaagmnrs/build/cpp/demo after make demo.

seri commented 9 years ago

I see. I suppose Aaagmnrs/build/cpp/AaagmnrsRunner is generated and executable? Can you run it manually like ./AaagmnrsRunner ../../data/demo/0.in 0.out and is a file 0.out generated with the content []?

ghost commented 9 years ago

I found the solution executable are generated but they don't executable permission when I am on some other Drive. I am on ubuntu and if I download the problem in drive where I installed windows or any other drive with NTFS partation the xecutable are generated but they don't executable permission.But when I download the same problem on my home folder of ubuntu I don't get any error.

seri commented 9 years ago

I would consider it solved then :)