Pagini recente » Borderou de evaluare (job #586916) | Borderou de evaluare (job #2351154) | Borderou de evaluare (job #1903527) | Borderou de evaluare (job #818163) | Borderou de evaluare (job #2827688)
Borderou de evaluare (job #2827688)
Raport evaluator
Compilare:
main.cpp: In member function 'nrMare nrMare::operator*(const nrMare&) const':
main.cpp:23:24: warning: iteration 99 invokes undefined behavior [-Waggressive-loop-optimizations]
23 | cif[i] = 0;
main.cpp:21:31: note: within this loop
21 | for (int i = 1; i <= nrMaxCif; i++)
| ~~^~~~~~~~~~~
main.cpp: In member function 'nrMare nrMare::operator-(const nrMare&) const':
main.cpp:23:24: warning: iteration 99 invokes undefined behavior [-Waggressive-loop-optimizations]
23 | cif[i] = 0;
main.cpp:21:31: note: within this loop
21 | for (int i = 1; i <= nrMaxCif; i++)
| ~~^~~~~~~~~~~
main.cpp: In member function 'nrMare nrMare::operator+(const nrMare&) const':
main.cpp:23:24: warning: iteration 99 invokes undefined behavior [-Waggressive-loop-optimizations]
23 | cif[i] = 0;
main.cpp:21:31: note: within this loop
21 | for (int i = 1; i <= nrMaxCif; i++)
| ~~^~~~~~~~~~~
main.cpp: In function 'void __static_initialization_and_destruction_0(int, int)':
main.cpp:23:24: warning: iteration 99 invokes undefined behavior [-Waggressive-loop-optimizations]
23 | cif[i] = 0;
main.cpp:21:31: note: within this loop
21 | for (int i = 1; i <= nrMaxCif; i++)
| ~~^~~~~~~~~~~
main.cpp:23:24: warning: iteration 99 invokes undefined behavior [-Waggressive-loop-optimizations]
23 | cif[i] = 0;
main.cpp:21:31: note: within this loop
21 | for (int i = 1; i <= nrMaxCif; i++)
| ~~^~~~~~~~~~~
In constructor 'nrMare::nrMare()',
inlined from 'nrMare nrMare::operator+(const nrMare&) const' at main.cpp:54:20,
inlined from 'void depositum()' at main.cpp:198:26:
main.cpp:23:24: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [400, 403] is out of the bounds [0, 400] of object 'aux' with type 'nrMare' [-Warray-bounds]
23 | cif[i] = 0;
main.cpp: In function 'void depositum()':
main.cpp:193:6: note: 'aux' declared here
193 | void depositum()
| ^~~~~~~~~
In constructor 'nrMare::nrMare()',
inlined from 'void emptum()' at main.cpp:87:20:
main.cpp:23:24: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [400, 403] is out of the bounds [0, 400] of object 'prod' with type 'nrMare' [-Warray-bounds]
23 | cif[i] = 0;
main.cpp: In function 'void emptum()':
main.cpp:208:12: note: 'prod' declared here
208 | nrMare prod = X * Y;
| ^~~~
In constructor 'nrMare::nrMare()',
inlined from 'nrMare nrMare::operator+(const nrMare&) const' at main.cpp:54:20,
inlined from 'void emptum()' at main.cpp:212:25:
main.cpp:23:24: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [400, 403] is out of the bounds [0, 400] of object 'aux' with type 'nrMare' [-Warray-bounds]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | OK | 10 |
2 | 2ms | 184kb | Incorect | 0 |
3 | 2ms | 184kb | Incorect | 0 |
4 | 1ms | 184kb | Incorect | 0 |
5 | 2ms | 184kb | Incorect | 0 |
6 | 2ms | 184kb | Incorect | 0 |
7 | 2ms | 184kb | Incorect | 0 |
8 | 16ms | 294kb | Incorect | 0 |
9 | 16ms | 294kb | Incorect | 0 |
10 | 134ms | 471kb | Incorect | 0 |
Punctaj total | 10 |