Pagini recente » Borderou de evaluare (job #3277122) | Borderou de evaluare (job #2186801) | Borderou de evaluare (job #3201035) | Borderou de evaluare (job #694478) | Borderou de evaluare (job #3188810)
Borderou de evaluare (job #3188810)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:50:60: warning: unused variable 'committeeIdx' [-Wunused-variable]
50 | int numSenators, numCommittees, senator, numOfMembers, committeeIdx = 0;
| ^~~~~~~~~~~~
main.cpp:67:22: warning: iteration 104 invokes undefined behavior [-Waggressive-loop-optimizations]
67 | leftMatch[i] = 0;
| ~~~~~~~~~~~~~^~~
main.cpp:66:22: note: within this loop
66 | for(int i = 1; i <= MAX_N; ++i)
| ~~^~~~~~~~
main.cpp:67:22: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [420, 423] is out of the bounds [0, 420] of object 'leftMatch' with type 'int [105]' [-Warray-bounds]
67 | leftMatch[i] = 0;
| ~~~~~~~~~~~~~^~~
main.cpp:11:5: note: 'leftMatch' declared here
11 | int leftMatch[MAX_N], rightMatch[MAX_M];
| ^~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Incorect! | 0 |
2 | 0ms | 303kb | Incorect! | 0 |
3 | 0ms | 303kb | Incorect! | 0 |
4 | 0ms | 303kb | Incorect! | 0 |
5 | 0ms | 303kb | Incorect! | 0 |
6 | 0ms | 303kb | Incorect! | 0 |
7 | 1ms | 303kb | Incorect! | 0 |
8 | 1ms | 303kb | Incorect! | 0 |
9 | 0ms | 303kb | Incorect! | 0 |
10 | 0ms | 303kb | S-a respectat legea! | 10 |
Punctaj total | 10 |