Pagini recente »
Borderou de evaluare (job #604639)
|
Borderou de evaluare (job #68537)
|
Borderou de evaluare (job #157593)
|
Borderou de evaluare (job #145470)
|
Borderou de evaluare (job #800448)
Borderou de evaluare (job #800448)
Raport evaluator
Compilare:
main.c: In function 'calcul':
main.c:30:23: warning: unused variable 'i' [-Wunused-variable]
30 | int nr1,nr2,cifre,i,alternare=1,ab=1;
| ^
main.c: In function 'main':
main.c:58:43: warning: variable 'ab' set but not used [-Wunused-but-set-variable]
58 | int a,b,c,nr1,nr2,cifre,i,alternare=1,ab=1;
| ^~
main.c:58:31: warning: variable 'alternare' set but not used [-Wunused-but-set-variable]
58 | int a,b,c,nr1,nr2,cifre,i,alternare=1,ab=1;
| ^~~~~~~~~
main.c:58:29: warning: unused variable 'i' [-Wunused-variable]
58 | int a,b,c,nr1,nr2,cifre,i,alternare=1,ab=1;
| ^
main.c:58:23: warning: unused variable 'cifre' [-Wunused-variable]
58 | int a,b,c,nr1,nr2,cifre,i,alternare=1,ab=1;
| ^~~~~
main.c:58:19: warning: unused variable 'nr2' [-Wunused-variable]
58 | int a,b,c,nr1,nr2,cifre,i,alternare=1,ab=1;
| ^~~
main.c:58:15: warning: unused variable 'nr1' [-Wunused-variable]
58 | int a,b,c,nr1,nr2,cifre,i,alternare=1,ab=1;
| ^~~
main.c:59:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
59 | fscanf(fin,"%d%d%d",&a,&b,&c);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c: In function 'inversare':
main.c:26:8: warning: 'n1' may be used uninitialized [-Wmaybe-uninitialized]
26 | return n1;
| ^~
main.c:21:5: note: 'n1' was declared here
21 | int n1;
| ^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
2 ms
|
245 kb
|
OK
|
10
|
3
|
1 ms
|
507 kb
|
OK
|
10
|
4
|
1 ms
|
245 kb
|
OK
|
10
|
5
|
2 ms
|
245 kb
|
OK
|
10
|
6
|
2 ms
|
245 kb
|
OK
|
10
|
7
|
1 ms
|
245 kb
|
OK
|
10
|
8
|
1 ms
|
245 kb
|
OK
|
10
|
9
|
2 ms
|
245 kb
|
Incorect
|
0
|
10
|
1 ms
|
245 kb
|
Incorect
|
0
|
Punctaj total
|
80
|