From 6ef7cbc2cf42ec2329ee5ae6d43db53abd84077a Mon Sep 17 00:00:00 2001 From: Denis Costa Date: Tue, 26 Dec 2023 07:25:41 -0300 Subject: [PATCH] Fixes --- .docker/lint/dart-lint.Dockerfile | 2 +- .docker/lint/js-lint.Dockerfile | 2 +- Makefile | 2 +- solutions/beecrowd/1029/1029.cpp | 1 - 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.docker/lint/dart-lint.Dockerfile b/.docker/lint/dart-lint.Dockerfile index cc10270f..c1bf25cc 100644 --- a/.docker/lint/dart-lint.Dockerfile +++ b/.docker/lint/dart-lint.Dockerfile @@ -1,4 +1,4 @@ -FROM google/dart +FROM dart:3.0.5 RUN mkdir /code WORKDIR /code diff --git a/.docker/lint/js-lint.Dockerfile b/.docker/lint/js-lint.Dockerfile index d8e65518..d737e5e4 100644 --- a/.docker/lint/js-lint.Dockerfile +++ b/.docker/lint/js-lint.Dockerfile @@ -1,4 +1,4 @@ -FROM node:12.18.3 +FROM node:12.22.0 RUN npm install -g standard diff --git a/Makefile b/Makefile index 523e4baf..c3218190 100644 --- a/Makefile +++ b/Makefile @@ -101,7 +101,7 @@ endif __run-lint-build: @for language_lint in $(SUPPORTED_LINTS); do \ - $(DOCKER_BUILD) .docker/lint/$${language_lint}-lint.Dockerfile -t $${language_lint}-lint .; \ + $(DOCKER_BUILD) .docker/lint/$${language_lint}-lint.Dockerfile --platform linux/arm64 -t $${language_lint}-lint .; \ done check-tags: diff --git a/solutions/beecrowd/1029/1029.cpp b/solutions/beecrowd/1029/1029.cpp index 00d2ef5e..aff73bc4 100644 --- a/solutions/beecrowd/1029/1029.cpp +++ b/solutions/beecrowd/1029/1029.cpp @@ -35,7 +35,6 @@ int main() { std::int32_t fib_result = fib(n); printf("fib(%d) = %d calls = %d\n", n, r[n], fib_result); - } return 0;