Borderou de evaluare (job #3265222)

Utilizator not_anduAndu Scheusan not_andu Data 28 decembrie 2024 10:41:43
Problema Arbore partial de cost minim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:1:30: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast' 1 | #pragma GCC optimize ("OFast") | ^ In file included from /usr/include/c++/12.2.1/cassert:43, from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:33, from main.cpp:2: /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/c++config.h:309:29: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast' 309 | inline void __terminate() _GLIBCXX_USE_NOEXCEPT | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/c++config.h: In function 'void std::__terminate()': /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/c++config.h:311:73: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast' 311 | void terminate() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__noreturn__)); | ^ /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/c++config.h:311:73: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast' /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/c++config.h: At global scope: /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/c++config.h:516:29: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast' 516 | __is_constant_evaluated() _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12.2.1/cassert:44: /usr/include/assert.h:69:43: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast' 69 | __THROW __attribute__ ((__noreturn__)); | ^ /usr/include/assert.h:69:43: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast' /usr/include/assert.h:74:43: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast' 74 | __THROW __attribute__ ((__noreturn__)); | ^ /usr/include/assert.h:74:43: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast' /usr/include/assert.h:80:43: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast' 80 | __THROW __attribute__ ((__noreturn__)); | ^ /usr/include/assert.h:80:43: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast' In file included from /usr/include/c++/12.2.1/cctype:42, from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:35: /usr/include/ctype.h:80:40: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast' 80 | __THROW __attribute__ ((__const__)); | ^ /usr/include/ctype.h:80:40: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast' /usr/include/ctype.h:82:40: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast' 82 | __THROW __attribute__ ((__const__)); | ^ /usr/include/ctype.h:82:40: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast' /usr/include/ctype.h:84:40: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast' 84 | __THROW __attribute__ ((__const__)); | ^ /usr/include/ctype.h:84:40: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast' In file included from /usr/include/features.h:490, from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/os_defines.h:39, from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/c++config.h:655: /usr/include/ctype.h:108:1: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast' 108 | __exctype (isalnum); Non zero exit status: 1

Ceva nu functioneaza?