Pagini recente »
Borderou de evaluare (job #445696)
|
Borderou de evaluare (job #652804)
|
Borderou de evaluare (job #290084)
|
Borderou de evaluare (job #787582)
Borderou de evaluare (job #787582)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:9:39: warning: unused variable 'm' [-Wunused-variable]
9 | int n,cer,nrdiviz,cnt,i,j,p,t,aux,m,a,ok=0;
| ^
main.c:9:35: warning: unused variable 'aux' [-Wunused-variable]
9 | int n,cer,nrdiviz,cnt,i,j,p,t,aux,m,a,ok=0;
| ^~~
main.c:9:33: warning: unused variable 't' [-Wunused-variable]
9 | int n,cer,nrdiviz,cnt,i,j,p,t,aux,m,a,ok=0;
| ^
main.c:9:31: warning: variable 'p' set but not used [-Wunused-but-set-variable]
9 | int n,cer,nrdiviz,cnt,i,j,p,t,aux,m,a,ok=0;
| ^
main.c:9:29: warning: unused variable 'j' [-Wunused-variable]
9 | int n,cer,nrdiviz,cnt,i,j,p,t,aux,m,a,ok=0;
| ^
main.c:9:15: warning: unused variable 'nrdiviz' [-Wunused-variable]
9 | int n,cer,nrdiviz,cnt,i,j,p,t,aux,m,a,ok=0;
| ^~~~~~~
main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fscanf( fin, "%d%d\n", &cer, &n);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:18:24: warning: 'i' may be used uninitialized [-Wmaybe-uninitialized]
18 | while( c!='\n' && i < n ) {
| ~~~~~~~~^~~~~~~~
main.c:9:27: note: 'i' was declared here
9 | int n,cer,nrdiviz,cnt,i,j,p,t,aux,m,a,ok=0;
| ^
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
507 kb
|
Incorect
|
0
|
|
2
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
3
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
4
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
5
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
6
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
7
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
8
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
9
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
10
|
1 ms
|
512 kb
|
Incorect
|
0
|
|
11
|
1 ms
|
270 kb
|
Incorect
|
0
|
|
12
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
13
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
14
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
15
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
16
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
17
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
18
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
19
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
20
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
21
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
22
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
23
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
24
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
25
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
Punctaj total
|
0
|