Pagini recente »
Borderou de evaluare (job #11443)
|
Borderou de evaluare (job #367910)
|
Borderou de evaluare (job #322472)
|
Borderou de evaluare (job #361509)
|
Borderou de evaluare (job #745216)
Borderou de evaluare (job #745216)
Raport evaluator
Compilare:
main.c: In function 'afis':
main.c:8:18: warning: passing argument 2 of 'fputc' from incompatible pointer type [-Wincompatible-pointer-types]
8 | fputc(v[i], fout);
| ^~~~
| |
| int *
In file included from main.c:1:
/usr/include/stdio.h:549:34: note: expected 'FILE *' but argument is of type 'int *'
549 | extern int fputc (int __c, FILE *__stream);
| ~~~~~~^~~~~~~~
main.c:10:15: warning: passing argument 2 of 'fputc' from incompatible pointer type [-Wincompatible-pointer-types]
10 | fputc(' ', fout);
| ^~~~
| |
| int *
/usr/include/stdio.h:549:34: note: expected 'FILE *' but argument is of type 'int *'
549 | extern int fputc (int __c, FILE *__stream);
| ~~~~~~^~~~~~~~
main.c: In function 'Inversare':
main.c:17:17: warning: passing argument 2 of 'fputc' from incompatible pointer type [-Wincompatible-pointer-types]
17 | fputc('\n', fout);
| ^~~~
| |
| int *
/usr/include/stdio.h:549:34: note: expected 'FILE *' but argument is of type 'int *'
549 | extern int fputc (int __c, FILE *__stream);
| ~~~~~~^~~~~~~~
main.c:22:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
22 | if(v[poz] >= 'A' && v[poz] <= 'Z')
| ^~
main.c:25:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
25 | Inversare(poz - 1, fout);
| ^~~~~~~~~
main.c: In function 'main':
main.c:46:15: warning: passing argument 2 of 'Inversare' from incompatible pointer type [-Wincompatible-pointer-types]
46 | Inversare(i,fout);
| ^~~~
| |
| FILE *
main.c:14:30: note: expected 'int *' but argument is of type 'FILE *'
14 | void Inversare(int poz, int *fout){
| ~~~~~^~~~
In function 'afis',
inlined from 'Inversare' at main.c:23:6:
main.c:7:24: warning: 'startCv' may be used uninitialized [-Wmaybe-uninitialized]
7 | for(int i = strt; i >= stp; i--){
| ~~^~~~~~
main.c: In function 'Inversare':
main.c:15:7: note: 'startCv' was declared here
15 | int startCv;
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
foloseste vectori
|
0
|
2
|
1 ms
|
245 kb
|
foloseste vectori
|
0
|
3
|
1 ms
|
245 kb
|
foloseste vectori
|
0
|
4
|
359 ms
|
2572 kb
|
Time limit exceeded
|
0
|
5
|
355 ms
|
749 kb
|
Time limit exceeded
|
0
|
6
|
356 ms
|
606 kb
|
Time limit exceeded
|
0
|
7
|
353 ms
|
1007 kb
|
Time limit exceeded
|
0
|
8
|
359 ms
|
1548 kb
|
Time limit exceeded
|
0
|
9
|
354 ms
|
1908 kb
|
Time limit exceeded
|
0
|
10
|
357 ms
|
2605 kb
|
Time limit exceeded
|
0
|
Punctaj total
|
0
|