Borderou de evaluare (job #3282469)

Utilizator iulia_morariuIuli Morariu iulia_morariu Data 5 martie 2025 19:08:50
Problema Puternic Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'ull exp(ull, ull)': main.cpp:22:22: warning: comparison of integer expressions of different signedness: 'int' and 'ull' {aka 'long long unsigned int'} [-Wsign-compare] 22 | for(int i = 0; i < e; i++) p = p * b; | ~~^~~ main.cpp: In function 'int main()': main.cpp:79:20: warning: comparison of integer expressions of different signedness: 'std::stack<long long unsigned int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 79 | while(s.size() > n) s.pop(); | ~~~~~~~~~^~~ main.cpp:67:37: warning: array subscript 50 is above array bounds of 'ull [21]' {aka 'long long unsigned int [21]'} [-Warray-bounds] 67 | while(!s.empty() && dp[i][50] < s.top()) s.pop(); | ~~~~~~~~^ main.cpp:36:5: note: while referencing 'dp' 36 | ull dp[300001][21]; | ^~ main.cpp:68:24: warning: array subscript 50 is above array bounds of 'ull [21]' {aka 'long long unsigned int [21]'} [-Warray-bounds] 68 | s.push(dp[i][50]); | ~~~~~~~~^ main.cpp:36:5: note: while referencing 'dp' 36 | ull dp[300001][21]; | ^~ main.cpp:68:24: warning: array subscript 50 is above array bounds of 'ull [21]' {aka 'long long unsigned int [21]'} [-Warray-bounds] 68 | s.push(dp[i][50]); | ~~~~~~~~^ main.cpp:36:5: note: while referencing 'dp' 36 | ull dp[300001][21]; | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
134ms52977kbIncorect0
234ms52989kbIncorect0
334ms53092kbIncorect0
434ms53018kbIncorect0
534ms53108kbIncorect0
634ms52940kbIncorect0
734ms52875kbIncorect0
834ms52916kbIncorect0
934ms52883kbIncorect0
1033ms52924kbIncorect0
Punctaj total0

Ceva nu functioneaza?