Pagini recente »
Borderou de evaluare (job #186263)
|
Borderou de evaluare (job #508404)
|
Borderou de evaluare (job #739581)
|
Borderou de evaluare (job #174273)
|
Borderou de evaluare (job #789721)
Borderou de evaluare (job #789721)
Raport evaluator
Compilare:
main.cpp: In function 'bool are3divizori(long long int)':
main.cpp:26:14: warning: 'd' is used uninitialized [-Wuninitialized]
26 | while (d * d <= nr && p < 2)
| ~~^~~
main.cpp:25:9: note: 'd' was declared here
25 | int d, k, aux = nr, p = 0;
| ^
main.cpp:35:15: warning: 'k' may be used uninitialized [-Wmaybe-uninitialized]
35 | k ++;
| ~~^~
main.cpp:25:12: note: 'k' was declared here
25 | int d, k, aux = nr, p = 0;
| ^
In function 'bool are3divizori(long long int)',
inlined from 'int main()' at main.cpp:51:25:
main.cpp:35:15: warning: 'k' may be used uninitialized [-Wmaybe-uninitialized]
35 | k ++;
| ~~^~
main.cpp: In function 'int main()':
main.cpp:25:12: note: 'k' was declared here
25 | int d, k, aux = nr, p = 0;
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
Incorect
|
0
|
2
|
1 ms
|
507 kb
|
Incorect
|
0
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
4
|
1 ms
|
245 kb
|
Incorect
|
0
|
5
|
1 ms
|
245 kb
|
Incorect
|
0
|
6
|
1 ms
|
245 kb
|
Incorect
|
0
|
7
|
1 ms
|
245 kb
|
Incorect
|
0
|
8
|
1 ms
|
249 kb
|
Incorect
|
0
|
9
|
1 ms
|
249 kb
|
Incorect
|
0
|
10
|
1 ms
|
266 kb
|
Incorect
|
0
|
Punctaj total
|
0
|