Pagini recente » Borderou de evaluare (job #2282973) | Borderou de evaluare (job #2588271) | Borderou de evaluare (job #1235103) | Fast Fourier Transformation | Borderou de evaluare (job #2463840)
Borderou de evaluare (job #2463840)
Raport evaluator
Compilare:
main.cpp: In function 'int prim(int)':
main.cpp:15:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(n<2 || n>2 && n%2==0)
~~~~^~~~~~~~~
main.cpp: In function 'int nrdivprimi(int)':
main.cpp:36:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(d=prim(n))
^
main.cpp: In function 'int main()':
main.cpp:46:21: warning: 'n' is used uninitialized in this function [-Wuninitialized]
if(X==nrdivprimi(n)&& X<=N)
~~~~~~~~~~^~~
main.cpp:46:24: warning: 'X' is used uninitialized in this function [-Wuninitialized]
if(X==nrdivprimi(n)&& X<=N)
~~~~~~~~~~~~~~~~^~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 131kb | Incorect | 0 |
| 2 | 3ms | 131kb | Incorect | 0 |
| 3 | 3ms | 131kb | Incorect | 0 |
| 4 | 3ms | 131kb | Incorect | 0 |
| 5 | 3ms | 131kb | Incorect | 0 |
| 6 | 3ms | 131kb | Incorect | 0 |
| 7 | 3ms | 131kb | Incorect | 0 |
| 8 | 3ms | 131kb | Incorect | 0 |
| 9 | 3ms | 131kb | Incorect | 0 |
| 10 | 3ms | 131kb | Incorect | 0 |
| 11 | 3ms | 131kb | Incorect | 0 |
| 12 | 3ms | 131kb | Incorect | 0 |
| 13 | 3ms | 131kb | Incorect | 0 |
| 14 | 3ms | 131kb | Incorect | 0 |
| 15 | 3ms | 131kb | Incorect | 0 |
| 16 | 2ms | 131kb | Incorect | 0 |
| 17 | 3ms | 131kb | Incorect | 0 |
| 18 | 3ms | 131kb | Incorect | 0 |
| 19 | 3ms | 131kb | Incorect | 0 |
| 20 | 3ms | 131kb | Incorect | 0 |
| Punctaj total | 0 |