Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2244232)
| Utilizator | Data | 22 septembrie 2018 14:23:45 | |
|---|---|---|---|
| Problema | Numere Prime | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:2: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for (i=2; i<=2000000; i++)
^~~
user.cpp:32:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
fout<<y*y;
^~~~
user.cpp:27:9: warning: iteration 1999998 invokes undefined behavior [-Waggressive-loop-optimizations]
if(a[i]==1 && nr<var)
~~~^
user.cpp:26:13: note: within this loop
for (i=2; i<=2000000; i++)
~^~~~~~~~~
user.cpp:14:7: warning: iteration 1999999 invokes undefined behavior [-Waggressive-loop-optimizations]
a[i]=1;
~~~~^~
user.cpp:13:13: note: within this loop
for (i=1; i<=2000000; i++)
~^~~~~~~~~
user.cpp:32:11: warning: ‘y’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fout<<y*y;
^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 116ms | 9128kb | Killed by signal 6(SIGABRT). | 0 |
| 2 | 112ms | 9128kb | Killed by signal 6(SIGABRT). | 0 |
| 3 | 124ms | 9124kb | Killed by signal 6(SIGABRT). | 0 |
| 4 | 120ms | 9128kb | Killed by signal 6(SIGABRT). | 0 |
| 5 | 112ms | 9128kb | Killed by signal 6(SIGABRT). | 0 |
| 6 | 112ms | 9128kb | Killed by signal 6(SIGABRT). | 0 |
| 7 | 112ms | 9124kb | Killed by signal 6(SIGABRT). | 0 |
| 8 | 112ms | 9128kb | Killed by signal 6(SIGABRT). | 0 |
| 9 | 112ms | 9124kb | Killed by signal 6(SIGABRT). | 0 |
| 10 | 112ms | 9132kb | Killed by signal 6(SIGABRT). | 0 |
| Punctaj total | 0 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
