Pagini recente »
Borderou de evaluare (job #93148)
|
Borderou de evaluare (job #231954)
|
Borderou de evaluare (job #748522)
|
Borderou de evaluare (job #129116)
|
Borderou de evaluare (job #774609)
Borderou de evaluare (job #774609)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:22:41: warning: unused variable 'k' [-Wunused-variable]
22 | int cr,nrcf,l,gata,nr,i,j,aux,st,dr,k,n,t;
| ^
main.c:25:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
25 | fscanf(fin,"%d ",&cr);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:131:20: warning: iteration 26 invokes undefined behavior [-Waggressive-loop-optimizations]
131 | while(f[i]>1) {
| ~^~~
main.c:130:19: note: within this loop
130 | for(i=0; i<=MAXLIT; i++) {
| ^
main.c:103:17: warning: 'ch' may be used uninitialized [-Wmaybe-uninitialized]
103 | while(ch!=EOF) {
| ^
main.c:23:10: note: 'ch' was declared here
23 | char ch,p;
| ^~
main.c:118:19: warning: 'nrcf' may be used uninitialized [-Wmaybe-uninitialized]
118 | for(i=2; i<=nrcf; i++) {
| ~^~~~~~
main.c:22:12: note: 'nrcf' was declared here
22 | int cr,nrcf,l,gata,nr,i,j,aux,st,dr,k,n,t;
| ^~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
507 kb
|
OK
|
5
|
2
|
1 ms
|
245 kb
|
Incorect
|
0
|
3
|
9 ms
|
245 kb
|
OK
|
5
|
4
|
19 ms
|
507 kb
|
Incorect
|
0
|
5
|
29 ms
|
249 kb
|
OK
|
10
|
6
|
29 ms
|
249 kb
|
Incorect
|
0
|
7
|
49 ms
|
249 kb
|
OK
|
10
|
8
|
49 ms
|
249 kb
|
Incorect
|
0
|
9
|
189 ms
|
249 kb
|
OK
|
10
|
10
|
179 ms
|
270 kb
|
Incorect
|
0
|
11
|
198 ms
|
249 kb
|
OK
|
10
|
12
|
109 ms
|
245 kb
|
Incorect
|
0
|
Punctaj total
|
50
|