Borderou de evaluare (job #3347910)

Utilizator andreidumitrache1709andreidumitrache andreidumitrache1709 Data 18 martie 2026 21:30:17
Problema Potriveala Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:3: warning: ignoring '#pragma target ' [-Wunknown-pragmas] 3 | #pragma target( "avx2" ) | main.cpp:101: warning: ignoring '#pragma target ' [-Wunknown-pragmas] 101 | #pragma target( "avx2" ) | main.cpp: In function 'int main()': main.cpp:51:22: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 51 | while( s1.size() < n ) | ~~~~~~~~~~^~~ main.cpp:76:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 76 | for( i = 1 ; i <= s1.size() ; i++ ) { | ~~^~~~~~~~~~~~ main.cpp: At global scope: main.cpp:104:11: error: redefinition of 'const int MOD' 104 | const int MOD = 1e9 + 7; | ^~~ main.cpp:6:11: note: 'const int MOD' previously defined here 6 | const int MOD = 1e9 + 7; | ^~~ main.cpp:105:11: error: redefinition of 'const int MAXM' 105 | const int MAXM = 5e5; | ^~~~ main.cpp:7:11: note: 'const int MAXM' previously defined here 7 | const int MAXM = 5e5; | ^~~~ main.cpp:106:11: error: redefinition of 'const int MAXN' 106 | const int MAXN = 25e4; | ^~~~ main.cpp:8:11: note: 'const int MAXN' previously defined here 8 | const int MAXN = 25e4; | ^~~~ main.cpp:107:5: error: redefinition of 'int p26 [500001]' 107 | int p26[MAXM + 1] , inv[MAXM+ 1] , pref1[MAXN + 1] , pref2[MAXM + 1]; | ^~~ main.cpp:9:5: note: 'int p26 [500001]' previously declared here 9 | int p26[MAXM + 1] , inv[MAXM+ 1] , pref1[MAXN + 1] , pref2[MAXM + 1]; | ^~~ main.cpp:107:21: error: redefinition of 'int inv [500001]' 107 | int p26[MAXM + 1] , inv[MAXM+ 1] , pref1[MAXN + 1] , pref2[MAXM + 1]; | ^~~ main.cpp:9:21: note: 'int inv [500001]' previously declared here 9 | int p26[MAXM + 1] , inv[MAXM+ 1] , pref1[MAXN + 1] , pref2[MAXM + 1]; | ^~~ main.cpp:107:36: error: redefinition of 'int pref1 [250001]' 107 | int p26[MAXM + 1] , inv[MAXM+ 1] , pref1[MAXN + 1] , pref2[MAXM + 1]; | ^~~~~ main.cpp:9:36: note: 'int pref1 [250001]' previously declared here 9 | int p26[MAXM + 1] , inv[MAXM+ 1] , pref1[MAXN + 1] , pref2[MAXM + 1]; | ^~~~~ Non zero exit status: 1

Ceva nu functioneaza?