Open AI Championship

Language packages

Round 1: before unfreeze

Project

Sandbox

Round 1

Round 2

Finals

Recent comments

15 december 11:25: skyfox wrote comment on post CodeSide App
15 december 11:07: MikeWazowski wrote comment on post CodeSide App
15 december 11:04: AlexKol wrote comment on post CodeSide App
15 december 11:00: MikeWazowski wrote comment on post CodeSide App
15 december 09:31: SlyFox wrote comment on post CodeSide App
15 december 06:52: AlexKol wrote comment on post Sandbox
15 december 06:46: crain wrote comment on post CodeSide App
15 december 01:46: tyamgin wrote comment on post Sandbox
15 december 01:43: cheeser wrote comment on post Sandbox
14 december 23:05: MrZlodey wrote comment on post Round 1

VK Group

Telegram chat

Discord

 

Language packages to create your own strategies for CodeSide are published. We currently support the following languages:

Language Compiler version Links
C++17 GNU C++ download
C# .Net Core 2.1 download
D dmd download
Go Go download
Java Java 8 download
Kotlin Kotlin download
Python Python 3 download
Ruby Ruby download
Rust Rust download
Scala Scala download
F# .Net Core 2.1 download
JavaScript NodeJS download

Each language package contains a set of models (Unit, Game, etc.), MyStrategy class, where you write the logic of your strategy, and other files necessary for running the strategy process and exchanging data with the game process.

All the clients are also available in GitHub repository



jfhs

In c++, the package error in distanceSqr:

return (a.x - b.x) * (a.x - b.x) + (a.y - b.**x**) * (a.y - b.y);

And should be:

return (a.x - b.x) * (a.x - b.x) + (a.y - b.**y**) * (a.y - b.y);

I hope it is not intentional :)

Nov 27, 2019 5:53:28 PM
TasmanianDevil

TasmanianDevil

Tomra N.V.

The package for C++ is missing csimplesocket. And the problem with the compilation when you enable titles (although that could be my problem Lu).

Nov 27, 2019 6:48:14 PM
and0

and0

Moscow

java: NPE if you do not aim I suspect that confused the characteristics of pistol and assault rifle Bazooka’s damage, bullet = 30, and the blast 50. I suspect that the bullet damage itself is not.

Nov 27, 2019 9:46:09 PM
and0

and0

Moscow

and0

and0

Moscow

java: NPE if you do not aim I suspect that confused the characteristics of pistol and assault rifle Bazooka’s damage, bullet = 30, and the blast 50. I suspect that the bullet damage itself is not.

Ugh, formatting.

  1. java: UnitAction - NPE if you do not aim.
  2. I suspect that confused the characteristics of pistol and assault rifle.
  3. Bazooka’s damage, bullet = 30, and the blast 50. I suspect that the bullet damage itself is not.

Nov 27, 2019 9:50:32 PM
pisarik

pisarik

Belarus

It was also unclear whether the use of only standard libraries of the language? Or is there a possibility that some third party to import?

Particularly interested in the version of the python interpreter (python 3 is just not enough) and available packages numpy/cython?

Nov 27, 2019 9:54:53 PM
Artem3213212

Artem3213212

ЛЭТИ

Can package for lua/FPC?

Nov 28, 2019 8:07:44 AM
kuviman

kuviman

СГУ им. Чернышевского

Artem3213212

Artem3213212

ЛЭТИ

Can package for lua/FPC?

Adding new packages is planned but may take some time

Nov 28, 2019 8:21:57 AM
chianti

What version of Python? 3.6?

Nov 28, 2019 9:36:49 AM
kuviman

kuviman

СГУ им. Чернышевского

What version of Python? 3.6?

at the moment 3.8.0

Nov 28, 2019 9:53:08 AM
apchernyaev

apchernyaev

Saratov

Trying to compile the package under C++, getting errors Function ‘freeaddrinfo’ could not be resolved TcpStream.cpp /AI/cpp, line 40 Semantic Error Function ‘getaddrinfo’ could not be resolved TcpStream.cpp /AI/cpp, line 33 Semantic Error It’s not the compiler, or with the package that something was wrong?

Nov 28, 2019 9:58:27 AM
apchernyaev

apchernyaev

Saratov

Added import windows.h after winsock2.h , these errors are gone. But still not compiled.

Nov 28, 2019 10:06:12 AM
DarwinIsApe

DarwinIsApe

DB RTC

Under what version of JVM going strategy on Kotlin? 6 or 8?

Nov 28, 2019 10:08:47 AM
apchernyaev

apchernyaev

Saratov

No, the problem still remained. I can’t compile, to gather under Win7 64. Can anyone suggest what the problem is - that’s the entire error list from the compiler: Description Resource Path Location Type cpp\TcpStream.o: in function ZN14TcpInputStream9readBytesEPcj': AI C/C++ Problem cpp\TcpStream.o: in functionZN15TcpOutputStream5flushEv’: AI C/C++ Problem cpp\TcpStream.o: in function ZN9TcpStreamC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi': AI C/C++ Problem F:\AICUP\AI\Debug/../cpp/TcpStream.cpp:20: undefined reference tosocket@12‘ AI C/C++ Problem F:\AICUP\AI\Debug/../cpp/TcpStream.cpp:25: undefined reference to setsockopt@20' AI C/C++ Problem F:\AICUP\AI\Debug/../cpp/TcpStream.cpp:33: undefined reference togetaddrinfo@16’ AI C/C++ Problem F:\AICUP\AI\Debug/../cpp/TcpStream.cpp:37: undefined reference to connect@12' AI C/C++ Problem F:\AICUP\AI\Debug/../cpp/TcpStream.cpp:40: undefined reference tofreeaddrinfo@4‘ AI C/C++ Problem Function ‘freeaddrinfo’ could not be resolved TcpStream.cpp /AI/cpp, line 40 Semantic Error Function ‘getaddrinfo’ could not be resolved TcpStream.cpp /AI/cpp, line 33 Semantic Error multiple definition of vsnprintf'; cpp\TcpStream.o:c:/mingw/include/stdio.h:491: first defined here AI line 0, external location: c:\mingw\mingw32\bin\ld.exe: c:\mingw\lib\libmingwex.a(vsnprintf.o) C/C++ Problem undefined reference torecv@16’ TcpStream.cpp /AI/cpp, line 66 C/C++ Problem undefined reference to send@16' TcpStream.cpp /AI/cpp, line 105 C/C++ Problem undefined reference toWSAStartup@8’ TcpStream.cpp /AI/cpp line 16 C/C++ Problem

Nov 28, 2019 10:34:23 AM
apchernyaev

apchernyaev

Saratov

apchernyaev

apchernyaev

Saratov

No, the problem still remained. I can’t compile, to gather under Win7 64. Can anyone suggest what the problem is - that’s the entire error list from the compiler: Description Resource Path Location Type cpp\TcpStream.o: in function ZN14TcpInputStream9readBytesEPcj’: AI C/C++ Problem cpp\TcpStream.o: in function …

Description Resource Path Location Type cpp\TcpStream.o: in function ZN14TcpInputStream9readBytesEPcj': AI C/C++ Problem cpp\TcpStream.o: in functionZN15TcpOutputStream5flushEv’: AI C/C++ Problem cpp\TcpStream.o: in function ZN9TcpStreamC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi': AI C/C++ Problem F:\AICUP\AI\Debug/../cpp/TcpStream.cpp:20: undefined reference tosocket@12‘ AI C/C++ Problem F:\AICUP\AI\Debug/../cpp/TcpStream.cpp:25: undefined reference to setsockopt@20' AI C/C++ Problem F:\AICUP\AI\Debug/../cpp/TcpStream.cpp:33: undefined reference togetaddrinfo@16’ AI C/C++ Problem F:\AICUP\AI\Debug/../cpp/TcpStream.cpp:37: undefined reference to connect@12' AI C/C++ Problem F:\AICUP\AI\Debug/../cpp/TcpStream.cpp:40: undefined reference tofreeaddrinfo@4‘ AI C/C++ Problem Function ‘freeaddrinfo’ could not be resolved TcpStream.cpp /AI/cpp, line 40 Semantic Error Function ‘getaddrinfo’ could not be resolved TcpStream.cpp /AI/cpp, line 33 Semantic Error multiple definition of vsnprintf'; cpp\TcpStream.o:c:/mingw/include/stdio.h:491: first defined here AI line 0, external location: c:\mingw\mingw32\bin\ld.exe: c:\mingw\lib\libmingwex.a(vsnprintf.o) C/C++ Problem undefined reference torecv@16’ TcpStream.cpp /AI/cpp, line 66 C/C++ Problem undefined reference to send@16' TcpStream.cpp /AI/cpp, line 105 C/C++ Problem undefined reference toWSAStartup@8’ TcpStream.cpp /AI/cpp line 16 C/C++ Problem

Nov 28, 2019 10:35:28 AM
kuviman

kuviman

СГУ им. Чернышевского

DarwinIsApe

DarwinIsApe

DB RTC

Under what version of JVM going strategy on Kotlin? 6 or 8?

JDK 8

Nov 28, 2019 10:49:29 AM
av0

av0

Saint Petersburg

Is it possible to add .NET Core 3.0 or propreity C# package?

Nov 28, 2019 10:56:52 AM
kuviman

kuviman

СГУ им. Чернышевского

av0

av0

Saint Petersburg

Is it possible to add .NET Core 3.0 or propreity C# package?

Yes, update when you get a chance

Nov 28, 2019 11:30:25 AM
maxim.pr

maxim.pr

Voronezh

Page reference reference strategy is not to choose c#, there’s just no such option

Nov 28, 2019 12:13:56 PM
maxim.pr

maxim.pr

Voronezh

maxim.pr

maxim.pr

Voronezh

Page reference reference strategy is not to choose c#, there’s just no such option

everything is fine. the question is closed

Nov 28, 2019 12:19:31 PM
DOOMovoi

DOOMovoi

Moscow

Send the strategy in C# (the language in the drop-down menu, indicate the same) the page attempts to specify the language of Py3. As it should be?

Nov 28, 2019 3:45:03 PM
kalibrov

kalibrov

Samara

Node.Js it is possible to add?

Nov 28, 2019 6:50:32 PM
kuviman

kuviman

СГУ им. Чернышевского

kalibrov

kalibrov

Samara

Node.Js it is possible to add?

Yes, we plan to add JavaScript/TypeScript, as well as several other languages

Nov 28, 2019 7:18:03 PM
AlexKol

AlexKol

BB

What size are the tiles? in theory they square? and equal to the width of the unit. But unit height = 2 tiles?

Nov 28, 2019 8:09:27 PM
eczema

eczema

Казанский ФУ

can you please explain to the noobs what files to send if I use Java?

Nov 28, 2019 8:41:48 PM
DarwinIsApe

DarwinIsApe

DB RTC

kuviman

kuviman

СГУ им. Чернышевского

JDK 8

I want a normal data-class-s in Kotlin model. Does it make sense to send pull requests with refactoring raic-2019 on github-e? And then in the cart you write that you have models for all packages codegreen.

Nov 29, 2019 5:35:52 PM
Helgi17

Helgi17

Moscow

gcc 5.5.0 Doing cmake then make Get TCPStream error: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type CANT

Nov 29, 2019 9:12:35 PM
pborisov

Strategy sent in a zip archive, in accordance with the instructions and get a compilation error. Complains about the lack of pom.xml. Can you clarify in what form you want to send strategy? Using the language java.

Nov 29, 2019 11:44:19 PM
dimidrol

dimidrol

N1 Технологии

Strategy sent in a zip archive, in accordance with the instructions and get a compilation error. Complains about the lack of pom.xml. Can you clarify in what form you want to send strategy? Using the language java.

Confirm faced with a similar problem.

  • In previous games it was possible to send multiple files in a zip, the condition was that it is impossible to have subfolders.
  • Just for now send two samples of the file, writes that:

stdout:

[INFO] Scanning for projects…

[INFO] ———————————————————————— [INFO] BUILD FAILURE [INFO] ———————————————————————— [INFO] Total time: 0.197 s [INFO] Finished at: 2019-11-30T02:03:20Z [INFO] ———————————————————————— [ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/project). Please verify you invoked Maven from the correct directory. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException

stderr:

  • ‘[‘ compile ’!=‘ base:’]’ ++ wc-l ++ ls -1 /src/
  • 2 -eq 1
  • rm-rf ./Dockerfile ./compile.sh ./pom.xml ./run.sh ./src ./target
  • cp-rf /src/MyStrategy.java /src/testTest.java ./
  • mvn package –batch-mode

Nov 30, 2019 5:48:44 AM
Denissimo

The package for C++ is missing csimplesocket. And the problem with the compilation when you enable titles (although that could be my problem Lu).

pragma comment(lib, “Ws2_32.lib”) - try to add

Nov 30, 2019 7:19:33 PM
BroneKot

So JavaScript will be?

Dec 1, 2019 1:31:43 PM
kuviman

kuviman

СГУ им. Чернышевского

So JavaScript will be?

Will try to add as soon as possible. Thank you for your patience

https://github.com/MailRuChamps/raic-2019/pull/37

Dec 1, 2019 3:30:55 PM
Ascherbinin

Ascherbinin

SKB_Lab

No one will tell you put Kotlinc mac tried to run Runner.kt, and it throws me errors. A persistent sense that something else should it be

Dec 3, 2019 2:57:54 PM
Neko

Neko

Saransk

Compile error C++ on macOS in the Device was solved adding the line set(CMAKE_CXX_STANDARD 14) CMakeLists.txt

Dec 3, 2019 6:23:29 PM
SeriousDen

SeriousDen

ИСС Арт

Tired of lead Vec2Float in Vec2Double and back… https://www.meme-arsenal.com/memes/18e36d2fa83b09e46f7865f29c90c3d8.jpg

Dec 3, 2019 9:07:35 PM
Flickyyy

Flickyyy

ГБОУ Лицей №244

cpp writes a lot of errors. Obyasnite please or make an article how to install it all to make it work….

Dec 3, 2019 9:27:19 PM
kokorins

kokorins

Berlin

Ascherbinin

Ascherbinin

SKB_Lab

No one will tell you put Kotlinc mac tried to run Runner.kt, and it throws me errors. A persistent sense that something else should it be

bash mvn package java-jar "target/aicup2019-jar-with-dependencies.jar"

Dec 4, 2019 2:32:06 AM
Ascherbinin

Ascherbinin

SKB_Lab

kokorins

kokorins

Berlin

bash mvn package java-jar “target/aicup2019-jar-with-dependencies.jar”

Thank you very much, with maven’om all became clearer =)

Dec 4, 2019 8:08:21 AM
aplayt

aplayt

Moscow

dimidrol

dimidrol

N1 Технологии

Confirm faced with a similar problem. In previous games it was possible to send multiple files in a zip, the condition was that it is impossible to have subfolders. Just for now send two samples of the file, writes that: stdout: [INFO] Scanning for projects… [INFO] ———————————————————————— [INFO] BUILD FAILURE [INFO] ———————————————————————— [INFO] Total time: 0.197 s [INFO] Finished at: 2019-11-30T02:03:20Z [INFO] ———————————————————————— [ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/project). Please verify you invoked Maven from the correct directory. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] …

I also can’t figure out how to send java in zip archive

Dec 4, 2019 5:20:50 PM
knotri

knotri

НТУУ КПИ

kuviman

kuviman

СГУ им. Чернышевского

Yes, we plan to add JavaScript/TypeScript, as well as several other languages

Hello, tell me where is the javascript????

Dec 4, 2019 5:41:29 PM
alivefil

alivefil

Krasnoyarsk

Tell me how to Visual Studio to run the strategy is written in C++? I long, nothing comes out, constantly out error “Exception not handled”. But if an emulator to run and debug, the “bots stand still” time is not, but the debug where it apparently hangs if you close the emulator (without stopping the debug), then fly back the error “Exception not handled”.

Dec 4, 2019 6:16:41 PM
DeROvI
dimidrol

dimidrol

N1 Технологии

Confirm faced with a similar problem. In previous games it was possible to send multiple files in a zip, the condition was that it is impossible to have subfolders. Just for now send two samples of the file, writes that: stdout: [INFO] Scanning for projects… [INFO] ———————————————————————— [INFO] BUILD FAILURE [INFO] ———————————————————————— [INFO] Total time: 0.197 s [INFO] Finished at: 2019-11-30T02:03:20Z [INFO] ———————————————————————— [ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/project). Please verify you invoked Maven from the correct directory. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] …

Good afternoon. You understand the error? Do not tell me how?

Dec 4, 2019 9:27:27 PM
ardt2
SeriousDen

SeriousDen

ИСС Арт

Tired of lead Vec2Float in Vec2Double and back… https://www.meme-arsenal.com/memes/18e36d2fa83b09e46f7865f29c90c3d8.jpg

If you write in C++, the constructors and operators type conversion can help.

Here I’ve prepared a file of 2D points and vectors specifically for the RAIC: https://ardt2.livejournal.com/6268.html

Dec 5, 2019 12:54:07 PM
ShmelX

ShmelX

Tula

Can anyone a simple example in Java appeal to tile to throw?

Dec 5, 2019 1:56:29 PM
amurushkin

amurushkin

ХНУРЭ (бывш. ХИРЭ, ХТУРЭ)

ShmelX

ShmelX

Tula

Can anyone a simple example in Java appeal to tile to throw?

well, quick start is

Dec 5, 2019 3:12:42 PM
NightmareZ

NightmareZ

Kiev

Please add in C# ability to work in a unsafe context.

Dec 5, 2019 4:41:52 PM
NORD

Still trying to collect .zip for Java. First there was an error compiling, as written by the guys above, then added pom.xml and now on every you send “Denial of judgement - will try again later”… ???

Dec 5, 2019 4:51:33 PM
Anto313

Anto313

Yambol

I downloaded the c++ package and tried to compile main.cpp (without changing anything in the files) but it gives me errors, that have something to do with unordered_map(Weapons Param) and the TCPstream

Dec 5, 2019 7:41:22 PM
SeriousDen

SeriousDen

ИСС Арт

If you write in C++, the constructors and operators type conversion can help. Here I’ve prepared a file of 2D points and vectors specifically for the RAIC: https://ardt2.livejournal.com/6268.html

Thanks, but I essentially just wanted to make a point… I think that clubbing so much code (packet subclass, operators and designers of different varieties, etc.) only due to the fact that someone took pity 4 bytes on network to send - well, such a pleasure. All of this smacks of premature optimization

Dec 5, 2019 7:41:31 PM
ardt2
SeriousDen

SeriousDen

ИСС Арт

Thanks, but I essentially just wanted to make a point… I think that clubbing so much code (packet subclass, operators and designers of different varieties, etc.) only due to the fact that someone took pity 4 bytes on network to send - well, such a pleasure. All of this smacks of premature optimization

Easy conversion to Vec2Float directly from the Unit it is only side, although a nice effect. No premature optimization, just easy and simple program structure. And all of these conversion operators are written literally for half an hour. A float for rendering selected for reasons of lesser required accuracy, I think, not to save network traffic. )

Dec 5, 2019 9:14:35 PM
shelam

shelam

SGSITS

I had submited my code 5 hours ago still waiting for my first fight.

Dec 5, 2019 9:14:36 PM
amurushkin

amurushkin

ХНУРЭ (бывш. ХИРЭ, ХТУРЭ)

shelam

shelam

SGSITS

I had submited my code 5 hours ago still waiting for my first fight.

are you sure it was accepted?

Dec 5, 2019 9:18:58 PM
shelam

shelam

SGSITS

amurushkin

amurushkin

ХНУРЭ (бывш. ХИРЭ, ХТУРЭ)

are you sure it was accepted?

Yes it was accepted. I had 2 successful submission

Dec 5, 2019 9:19:50 PM
amurushkin

amurushkin

ХНУРЭ (бывш. ХИРЭ, ХТУРЭ)

shelam

shelam

SGSITS

Yes it was accepted. I had 2 successful submission

was it test submissions? i cant see any version of your code to play a game with you

Dec 5, 2019 9:22:35 PM
shelam

shelam

SGSITS

amurushkin

amurushkin

ХНУРЭ (бывш. ХИРЭ, ХТУРЭ)

was it test submissions? i cant see any version of your code to play a game with you

Got it thanks

Dec 5, 2019 9:35:48 PM
atageldi194229

atageldi194229

МУГНИР

My project does not run on C# , and NuGet packages important ?

Dec 6, 2019 8:27:22 AM
SeriousDen

SeriousDen

ИСС Арт

Easy conversion to Vec2Float directly from the Unit it is only side, although a nice effect. No premature optimization, just easy and simple program structure. And all of these conversion operators are written literally for half an hour. A float for rendering selected for reasons of lesser required accuracy, I think, not to save network traffic. )

> And float for rendering selected for reasons of lesser required accuracy That’s what I call premature optimization. All models in the double, and we will draw in float, and let the whole world converts! =D. your code, no questions, I’m already many years do not understand anything =)

Dec 6, 2019 6:39:54 PM
ardt2
SeriousDen

SeriousDen

ИСС Арт

> And float for rendering selected for reasons of lesser required accuracy That’s what I call premature optimization. All models in the double, and we will draw in float, and let the whole world converts! =D. your code, no questions, I’m already many years do not understand anything =)

I don’t know, I’d be designing a system rendering done in float, especially if you intend to draw a lot of, well, you never can tell. And about “and let the whole world convert into float” - well, a side effect. )

Dec 6, 2019 6:53:45 PM
vladl2802

vladl2802

Chelyabinsk

C++ Can’t decompiling MyStrategy. Is used hash I swear “No match for call to ‘(const std::hash)’ (WeaponType const&)” it is a problem of compiler?

Dec 6, 2019 7:16:43 PM
NORD

But there is someone from the Administration? In the JS package in the Item.Weapon-> readFrom, forgot await before weaponType = stream.readInt(), in the end is the type of weapon returned Promise. Wouldn owl, literally one line.

Dec 7, 2019 12:02:22 AM
poccomaxa

But there is someone from the Administration? In the JS package in the Item.Weapon-> readFrom, forgot await before weaponType = stream.readInt(), in the end is the type of weapon returned Promise. Wouldn owl, literally one line.

so you can correct. code, nobody forbids to change. can also in github to submit a request with the correction will be faster than to write here

Dec 7, 2019 4:04:01 AM
kokorins

kokorins

Berlin

What should be the layout of the zip file? specifically for interested in kotlin.

Dec 7, 2019 4:25:12 AM
aaafgcfg

aaafgcfg

КНИТУ-КАИ

on the server node.js what version?

Dec 7, 2019 11:33:47 AM
kuviman

kuviman

СГУ им. Чернышевского

kokorins

kokorins

Berlin

What should be the layout of the zip file? specifically for interested in kotlin.

For any language - the same downloaded package

Dec 7, 2019 1:24:13 PM
kuviman

kuviman

СГУ им. Чернышевского

aaafgcfg

aaafgcfg

КНИТУ-КАИ

on the server node.js what version?

The last, 13

Dec 7, 2019 1:24:44 PM
kuviman

kuviman

СГУ им. Чернышевского

But there is someone from the Administration? In the JS package in the Item.Weapon-> readFrom, forgot await before weaponType = stream.readInt(), in the end is the type of weapon returned Promise. Wouldn owl, literally one line.

Thanks, fixed

Dec 7, 2019 1:25:07 PM
kuviman

kuviman

СГУ им. Чернышевского

But there is someone from the Administration? In the JS package in the Item.Weapon-> readFrom, forgot await before weaponType = stream.readInt(), in the end is the type of weapon returned Promise. Wouldn owl, literally one line.

Thanks, fixed

Dec 7, 2019 1:25:07 PM
JFF

JFF

Krasnoyarsk

Help a teapot, please. Trying to compile the downloaded package in CodeBlocks in Win8.1 x64. When you “Compile current File” problems “MyStrategy.cpp” gives an error

85 error: no match for call to ‘(const std::hash) (const WeaponType&)’: and points to this piece of code in hashtable_policy.h

82 // Helper type used to detect whether the hash functor is noexcept. 83 template <typename _Key,="“ typename=”" _Hash=""> 84 struct is_noexcept_hash : std::bool_constant< 85 noexcept(declval<const _Hash&="">()(declval<const _Key&="">()))> 86 { };

What could be the problem? In CodeBlocks? I have Dev-C++ tried, but there I have not specified. Maybe the compiler doesn’t he? There BuildOptions compiler is “GNU GCC compiler”, had to put the flag “Have g++ follow the C++14 the GNU C++ language standard”, in C++17 is not there.

If CodeBlocks, suggest another free IDE.

Dec 8, 2019 3:19:21 AM
amurushkin

amurushkin

ХНУРЭ (бывш. ХИРЭ, ХТУРЭ)

JFF

JFF

Krasnoyarsk

Help a teapot, please. Trying to compile the downloaded package in CodeBlocks in Win8.1 x64. When you “Compile current File” problems “MyStrategy.cpp” gives an error 85 error: no match for call to ‘(const std::hash) (const WeaponType&)’: and points to this piece of code in hashtable_policy.h 82 // Helper type used to detect whether the hash functor is noexcept. 83 template <typename _Key,=““ typename=”” _Hash=""> 84 struct …

Device not free but has 30 day trial. it’s all out of the box I have earned from

Dec 8, 2019 9:47:17 AM
strobetm

strobetm

Moscow

For C# was to require the project file for some reason, until this week cost just a reference *.cs

MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file.

Dec 8, 2019 12:10:10 PM
AlexKol

AlexKol

BB

cp: cannot stat ‘/src/MyStrategy.cs’: No such file or directory when sending strategy zip

Dec 9, 2019 9:57:25 PM
poccomaxa

poccomaxa

Kiev

AlexKol

AlexKol

BB

cp: cannot stat ‘/src/MyStrategy.cs’: No such file or directory when sending strategy zip

move the files to the root of the archive

Dec 10, 2019 2:49:53 AM
AlexKol

AlexKol

BB

poccomaxa

poccomaxa

Kiev

move the files to the root of the archive

And so I did. As usual in General.

Dec 10, 2019 6:54:21 AM
AlexKol

AlexKol

BB

poccomaxa

poccomaxa

Kiev

move the files to the root of the archive

By the way thanks. Checked the archive, it is really in the folder. Now a new error) MSB1003 error: Specify a project or solution file. The current working directory does not contain a project or solution file.

Dec 10, 2019 6:58:32 AM
AlexKol

AlexKol

BB

File solutions, too, that if it is necessary to make?

Dec 10, 2019 7:01:43 AM
AlexKol

AlexKol

BB

It turns out all files in the archive need to make. Something new)

Dec 10, 2019 7:49:16 AM
Wolfire

Someone can help to deal with the removal of the functions in separate files? Write in Code::Blocks, C++, and have built the project using cmake, and then added to it 2 file, which rendered the function of (name.hpp, name.cpp). Now, the compiler gives an error:

Dec 10, 2019 3:56:30 PM
Wolfire

Someone can help to deal with the removal of the functions in separate files? Write in Code::Blocks, C++, and have built the project using cmake, and then added to it 2 file, which rendered the function of (name.hpp, name.cpp). Now, the compiler gives an error:

Hmm, Markdown is not mine, https://imgur.com/a/P6ISwx7

Dec 10, 2019 3:56:55 PM
amurushkin

amurushkin

ХНУРЭ (бывш. ХИРЭ, ХТУРЭ)

Hmm, Markdown is not mine, https://imgur.com/a/P6ISwx7

and in the make file you added them?

Dec 10, 2019 4:54:36 PM
Wolfire
amurushkin

amurushkin

ХНУРЭ (бывш. ХИРЭ, ХТУРЭ)

and in the make file you added them?

Added, but the situation has not changed

Dec 10, 2019 4:56:04 PM
Jeen99

It turns out all files in the archive need to make. Something new)

You can read more how to solve the problem happened? But that does not work, the archive is correctly thrown.

Dec 10, 2019 5:04:05 PM
AlexKol

You can read more how to solve the problem happened? But that does not work, the archive is correctly thrown.

What language do you have? For C# 1) Check that the archive was not subfolders, that was my first post, thank you for prompted me. 2) Add all necessary files + a folder with the model files. 3) Try to test sending if there is any error, this will help to understand what the problem is.

The current times are 8 sent

Dec 10, 2019 5:05:10 PM
Jeen99

What language do you have? For C# 1) Check that the archive was not subfolders, that was my first post, thank you for prompted me. 2) Add all necessary files + a folder with the model files. 3) Try to test sending if there is any error, this will help to understand what the problem is. The current times are 8 sent

Sharp. Therefore asked. Restore completed in 516.18 ms for /project/MyBot.csproj. MyStrategy.cs(249,14): error CS1001: Identifier expected [/project/MyBot.csproj] MyStrategy.cs(249,16): error CS1525: Invalid expression term " [/project/MyBot.csproj] MyStrategy.cs(249,16): error CS1026: ) expected [/project/MyBot.csproj] MyStrategy.cs(249,16): error CS1002: ; expected [/project/MyBot.csproj] MyStrategy.cs(249,16): error CS1056: Unexpected character ‘�’ [/project/MyBot.csproj] MyStrategy.cs(249,27): error CS1002: ; expected [/project/MyBot.csproj] MyStrategy.cs(249,27): error CS1513: } expected [/project/MyBot.csproj] Maybe the encoding or character polythelia (though that’s the craziest thing, I have that on LAN everything works). I’ll try it now on the original csproj to change.

Dec 10, 2019 5:09:41 PM
Jeen99

Yes, it is. On the server the file is already broken lies. On the LAN the file is ANSI encoded.

Dec 10, 2019 5:13:05 PM
Jeen99

Can anyone explain how to trace recharge? fire_timer is it? Try to compare with reload_time, but at the same time, the values were not equal.

Dec 10, 2019 6:17:29 PM
AlexKol

Can anyone explain how to trace recharge? fire_timer is it? Try to compare with reload_time, but at the same time, the values were not equal.

when fire_timer < reload_timer but > the delay between shots

Dec 10, 2019 6:23:32 PM
Jeen99

when fire_timer < reload_timer but > the delay between shots

Thought about it, but I was hoping there is a more convenient solution. Thanks for the reply.

Dec 10, 2019 6:31:44 PM
Olegnv

Olegnv

КФУ

the organizers can set the environment python keras and tensor flow?

Dec 12, 2019 12:50:54 AM
russage

russage

Moscow

The compiler D old. The correct code is not compiled: Performing “release” build using /dlang/dmd-2.080.0/linux/bin64/dmd for x86_64. aicup2019 ~master: building configuration “application”… tym = x1d Internal error: dmd/backend/cgxmm.c 733

Can be update? It seems that this bug was fixed in 2.081. I have no vosproizvoditsya, it is very difficult to understand how to get around.

Dec 12, 2019 6:37:27 PM
Polifem

Please help Trying to JS add in a debug line to draw the vector aiming await debug.draw( new CustomData.Line( new Vec2Double(unit.position.x, unit.position.y), new Vec2Double(unit.position.x + aim.x, unit.position.y + aim.y), 1, new ColorFloat(255, 0, 0, 1) ) ); however, when you start all the “falls” What is the error?

Dec 12, 2019 10:18:29 PM
dbf

dbf

Moscow

Please help Trying to JS add in a debug line to draw the vector aiming await debug.draw( new CustomData.Line( new Vec2Double(unit.position.x, unit.position.y), new Vec2Double(unit.position.x + aim.x, unit.position.y + aim.y), 1, new ColorFloat(255, 0, 0, 1) ) ); however, when you start all the “falls” What is the error?

Try to pass Vector2Float

Dec 12, 2019 11:05:53 PM
dbf

dbf

Moscow

Vec2Float

Dec 12, 2019 11:06:14 PM
Jeen99

I have not obtained one version of the strategy to fill? The second day was a failure of testing.

Dec 13, 2019 5:23:20 AM
AlexKol

AlexKol

BB

You do not do. Take Gita version, and its change

Dec 13, 2019 7:30:21 AM
Jeen99

You do not do. Take Gita version, and its change

Version this is still changed. Latest software update for the C# 7 days ago. The only thing I have your solution file, MB in this issue. Though it is strange that the system no error displays.

Dec 13, 2019 9:31:16 AM
AlexKol

Version this is still changed. Latest software update for the C# 7 days ago. The only thing I have your solution file, MB in this issue. Though it is strange that the system no error displays.

Well, I on you and say, I’m in the log I see that he swears at your solution file. Th XS you have there. Check you net core use

Dec 13, 2019 9:45:30 AM
Jeen99

Well, I on you and say, I’m in the log I see that he swears at your solution file. Th XS you have there. Check you net core use

What I chat overthrown is no longer relevant. Now he just does not output anything. Only the “waiver test, please try again later”.

Dec 13, 2019 11:42:30 AM
Jeen99

What I chat overthrown is no longer relevant. Now he just does not output anything. Only the “waiver test, please try again later”.

But tried the solution on its base to replace it. The test version booted. Whether the replacement helped, whether the load on the server was asleep.

Dec 13, 2019 11:43:49 AM
JAMES_HARDEN

JAMES_HARDEN

Nizhny Novgorod

after updating package C++ now locally always the first tick in the function TcpInputStream::readBytes RECV_SEND_T received = 0, and the loop hangs, the more control the strategy does not come (

Dec 13, 2019 10:24:57 PM
JAMES_HARDEN

JAMES_HARDEN

Nizhny Novgorod

JAMES_HARDEN

JAMES_HARDEN

Nizhny Novgorod

after updating package C++ now locally always the first tick in the function TcpInputStream::readBytes RECV_SEND_T received = 0, and the loop hangs, the more control the strategy does not come (

WARN - Player error: IO error: failed to fill the whole buffer

Dec 13, 2019 10:49:27 PM