Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #3301833)
| Utilizator | Data | 30 iunie 2025 13:25:35 | |
|---|---|---|---|
| Problema | Suma si numarul divizorilor | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Compilare:
main.cpp: In function 'int32_t main()':
main.cpp:41:16: warning: iteration 999998 invokes undefined behavior [-Waggressive-loop-optimizations]
41 | ciur[i]=1;
| ~~~~~~~^~
main.cpp:40:20: note: within this loop
40 | for (int i=2; i<=1000000; i++) {
| ~^~~~~~~~~
main.cpp:45:19: warning: iteration 999999 invokes undefined behavior [-Waggressive-loop-optimizations]
45 | if (ciur[i]) {
| ~~~~~~^
main.cpp:44:20: note: within this loop
44 | for (int i=1; i<=1000000; i++) {
| ~^~~~~~~~~
main.cpp:41:16: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset 1000000 is out of the bounds [0, 1000000] of object 'ciur' with type 'bool [1000000]' [-Warray-bounds]
41 | ciur[i]=1;
| ~~~~~~~^~
main.cpp:9:6: note: 'ciur' declared here
9 | bool ciur[1000000];
| ^~~~
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test | Punctaj/grupa |
|---|---|---|---|---|---|
| 1 | 54ms | 1867kb | Time limit exceeded | 0 | 0 |
| 2 | 6ms | 2023kb | Killed by Signal 8 | 0 | 0 |
| 3 | 6ms | 2027kb | Killed by Signal 8 | 0 | 0 |
| 4 | 6ms | 2023kb | Killed by Signal 8 | 0 | 0 |
| 5 | 5ms | 2027kb | Killed by Signal 8 | 0 | 0 |
| 6 | 6ms | 2068kb | Killed by Signal 8 | 0 | 0 |
| 7 | 54ms | 1867kb | Time limit exceeded | 0 | 0 |
| 8 | 6ms | 2023kb | Killed by Signal 8 | 0 | 0 |
| 9 | 54ms | 1867kb | Time limit exceeded | 0 | |
| 10 | 53ms | 1867kb | Time limit exceeded | 0 | |
| Punctaj total | 0 | ||||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
