Pagini recente » Borderou de evaluare (job #646366) | Borderou de evaluare (job #2763741) | Borderou de evaluare (job #2676920) | Borderou de evaluare (job #665348) | Borderou de evaluare (job #3282469)
Borderou de evaluare (job #3282469)
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 |
1 | 34ms | 52977kb | Incorect | 0 |
2 | 34ms | 52989kb | Incorect | 0 |
3 | 34ms | 53092kb | Incorect | 0 |
4 | 34ms | 53018kb | Incorect | 0 |
5 | 34ms | 53108kb | Incorect | 0 |
6 | 34ms | 52940kb | Incorect | 0 |
7 | 34ms | 52875kb | Incorect | 0 |
8 | 34ms | 52916kb | Incorect | 0 |
9 | 34ms | 52883kb | Incorect | 0 |
10 | 33ms | 52924kb | Incorect | 0 |
Punctaj total | 0 |