Borderou de evaluare (job #3242257)

Utilizator DennisJasonOgnean Dennis DennisJason Data 10 septembrie 2024 17:35:58
Problema Munte Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:8: warning: "LLONG_MAX" redefined 8 | #define LLONG_MAX 9223372036854775807 | In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include-fixed/limits.h:203, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include-fixed/limits.h:34, from /usr/include/c++/12.2.1/climits:42, from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:39, from main.cpp:1: /usr/include/limits.h:135: note: this is the location of the previous definition 135 | # define LLONG_MAX __LONG_LONG_MAX__ | main.cpp:12:13: error: '__int64' does not name a type; did you mean '__int64_t'? 12 | #define int __int64 | ^~~~~~~ main.cpp:24:1: note: in expansion of macro 'int' 24 | int n,d,k; | ^~~ main.cpp:12:13: error: '__int64' does not name a type; did you mean '__int64_t'? 12 | #define int __int64 | ^~~~~~~ main.cpp:25:1: note: in expansion of macro 'int' 25 | int dp_up[101][51][51]; | ^~~ main.cpp:12:13: error: '__int64' does not name a type; did you mean '__int64_t'? 12 | #define int __int64 | ^~~~~~~ main.cpp:26:1: note: in expansion of macro 'int' 26 | int dp_down[101][51][51]; | ^~~ main.cpp:12:13: error: '__int64' does not name a type; did you mean '__int64_t'? 12 | #define int __int64 | ^~~~~~~ main.cpp:27:1: note: in expansion of macro 'int' 27 | int v[51]; | ^~~ main.cpp: In function 'int main()': main.cpp:33:10: error: 'n' was not declared in this scope; did you mean 'yn'? 33 | fin>>n>>d>>k; | ^ | yn main.cpp:33:13: error: 'd' was not declared in this scope 33 | fin>>n>>d>>k; | ^ main.cpp:33:16: error: 'k' was not declared in this scope 33 | fin>>n>>d>>k; | ^ main.cpp:12:13: error: '__int64' was not declared in this scope; did you mean '__ynf64'? 12 | #define int __int64 | ^~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?