Pagini recente »
Borderou de evaluare (job #534071)
|
Borderou de evaluare (job #547468)
|
Borderou de evaluare (job #382100)
|
Borderou de evaluare (job #359025)
|
Borderou de evaluare (job #752779)
Borderou de evaluare (job #752779)
Raport evaluator
Compilare:
main.c: In function 'nrnou':
main.c:16:13: warning: value computed is not used [-Wunused-value]
16 | *nrcif++;
| ^~~~~~~~
main.c: In function 'main':
main.c:118:27: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=]
118 | fprintf(fout, "%lld ", num[i]);
| ~~~^ ~~~~~~
| | |
| | int
| long long int
| %d
main.c:81:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
81 | fscanf(fin, "%d", &n);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:84:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
84 | fscanf(fin, "%lld", &x);
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:906,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:115:5:
/usr/include/bits/stdio2.h:79:10: warning: 'maxcif' may be used uninitialized [-Wmaybe-uninitialized]
79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
80 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
main.c: In function 'main':
main.c:77:23: note: 'maxcif' was declared here
77 | int n,i,top,maxim,maxcif;
| ^~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
a) corect b) incorect
|
1
|
2
|
1 ms
|
249 kb
|
a) corect b) incorect
|
1
|
3
|
9 ms
|
217 kb
|
a) corect b) incorect
|
1
|
4
|
29 ms
|
249 kb
|
a) corect b) incorect
|
1
|
5
|
249 ms
|
241 kb
|
a) corect b) incorect
|
1
|
6
|
527 ms
|
430 kb
|
a) corect b) incorect
|
1
|
7
|
599 ms
|
217 kb
|
a) corect b) incorect
|
1
|
8
|
697 ms
|
245 kb
|
a) corect b) incorect
|
1
|
9
|
777 ms
|
249 kb
|
a) corect b) incorect
|
1
|
10
|
3 ms
|
245 kb
|
a) corect b) incorect
|
1
|
Punctaj total
|
10
|