Pagini recente »
Borderou de evaluare (job #778860)
Borderou de evaluare (job #778860)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf( fin, "%d%d", &n, &b);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:20:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
20 | fscanf(fin, "%d", &x);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:22:15: warning: 'k' may be used uninitialized [-Wmaybe-uninitialized]
22 | if(k==1){
| ^
main.c:8:18: note: 'k' was declared here
8 | int n, i, x, k, cresc=0, a, b, descresc=0;
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
Punctaj/grupă |
1
|
1 ms
|
245 kb
|
OK
|
4
|
0
|
2
|
1 ms
|
245 kb
|
Incorect
|
0
|
3
|
1 ms
|
245 kb
|
OK
|
4
|
4
|
1 ms
|
245 kb
|
OK
|
4
|
5
|
2 ms
|
245 kb
|
OK
|
4
|
6
|
2 ms
|
245 kb
|
OK
|
4
|
0
|
7
|
1 ms
|
245 kb
|
OK
|
4
|
8
|
1 ms
|
245 kb
|
OK
|
4
|
9
|
2 ms
|
245 kb
|
Incorect
|
0
|
10
|
2 ms
|
245 kb
|
OK
|
4
|
11
|
2 ms
|
245 kb
|
OK
|
4
|
20
|
12
|
25 ms
|
245 kb
|
OK
|
4
|
13
|
38 ms
|
249 kb
|
OK
|
4
|
14
|
49 ms
|
512 kb
|
OK
|
4
|
15
|
49 ms
|
249 kb
|
OK
|
4
|
16
|
79 ms
|
249 kb
|
OK
|
4
|
0
|
17
|
88 ms
|
249 kb
|
Incorect
|
0
|
18
|
99 ms
|
249 kb
|
OK
|
4
|
19
|
119 ms
|
249 kb
|
OK
|
4
|
20
|
188 ms
|
249 kb
|
OK
|
4
|
21
|
197 ms
|
512 kb
|
OK
|
4
|
0
|
22
|
217 ms
|
249 kb
|
OK
|
4
|
23
|
219 ms
|
249 kb
|
OK
|
4
|
24
|
249 ms
|
245 kb
|
Incorect
|
0
|
25
|
259 ms
|
249 kb
|
Incorect
|
0
|
Punctaj total
|
20
|