Pagini recente » Borderou de evaluare (job #2369798) | Borderou de evaluare (job #257041) | Borderou de evaluare (job #928170) | Borderou de evaluare (job #3234522) | Borderou de evaluare (job #2952873)
Borderou de evaluare (job #2952873)
Raport evaluator
Compilare:
main.cpp: In function 'int add(int*, int, int, int)':
main.cpp:11:10: warning: statement has no effect [-Wunused-value]
11 | for (i ; i<=n;i+=ub(i))
| ^
main.cpp:15:1: warning: no return statement in function returning non-void [-Wreturn-type]
15 | }
| ^
main.cpp: In function 'int sum(int*, int)':
main.cpp:22:1: warning: no return statement in function returning non-void [-Wreturn-type]
22 | }
| ^
main.cpp: In function 'int sum2(int*, int, int)':
main.cpp:25:9: warning: unused variable 'ans' [-Wunused-variable]
25 | int ans=sum(aib,poz2)-sum(aib,poz1-1);
| ^~~
main.cpp:26:1: warning: no return statement in function returning non-void [-Wreturn-type]
26 | }
| ^
main.cpp: In function 'int cb(int*, int, int)':
main.cpp:44:1: warning: control reaches end of non-void function [-Wreturn-type]
44 | }
| ^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 184kb | Killed by Signal 11 | 0 |
| 2 | 0ms | 184kb | Killed by Signal 11 | 0 |
| 3 | 0ms | 184kb | Killed by Signal 11 | 0 |
| 4 | 0ms | 184kb | Killed by Signal 11 | 0 |
| 5 | 0ms | 184kb | Killed by Signal 11 | 0 |
| 6 | 0ms | 184kb | Killed by Signal 11 | 0 |
| 7 | 0ms | 184kb | Killed by Signal 11 | 0 |
| 8 | 0ms | 184kb | Killed by Signal 11 | 0 |
| 9 | 0ms | 184kb | Killed by Signal 11 | 0 |
| 10 | 0ms | 184kb | Killed by Signal 11 | 0 |
| Punctaj total | 0 |