Pagini recente »
Borderou de evaluare (job #570578)
|
Borderou de evaluare (job #759694)
Borderou de evaluare (job #759694)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:7:31: warning: unused variable 'dif' [-Wunused-variable]
7 | int n, i, max, m, j, aux, dif, p, u;
| ^~~
main.c:7:26: warning: unused variable 'aux' [-Wunused-variable]
7 | int n, i, max, m, j, aux, dif, p, u;
| ^~~
main.c:7:23: warning: unused variable 'j' [-Wunused-variable]
7 | int n, i, max, m, j, aux, dif, p, u;
| ^
main.c:7:20: warning: unused variable 'm' [-Wunused-variable]
7 | int n, i, max, m, j, aux, dif, p, u;
| ^
main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | fscanf (fin, "%d", &n);
| ^~~~~~~~~~~~~~~~~~~~~~
main.c:12:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf (fin, "%d", &v[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
main.c:62:12: warning: 'max' may be used uninitialized [-Wmaybe-uninitialized]
62 | if (v[i+1]-v[i]>max) {
| ^
main.c:7:15: note: 'max' was declared here
7 | int n, i, max, m, j, aux, dif, p, u;
| ^~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
2 ms
|
245 kb
|
Incorect
|
0
|
2
|
1 ms
|
245 kb
|
Incorect
|
0
|
3
|
1 ms
|
249 kb
|
Incorect
|
0
|
4
|
159 ms
|
249 kb
|
Time limit exceeded
|
0
|
5
|
159 ms
|
512 kb
|
Time limit exceeded
|
0
|
6
|
159 ms
|
770 kb
|
Time limit exceeded
|
0
|
7
|
159 ms
|
774 kb
|
Time limit exceeded
|
0
|
8
|
159 ms
|
1032 kb
|
Time limit exceeded
|
0
|
9
|
159 ms
|
1036 kb
|
Time limit exceeded
|
0
|
10
|
159 ms
|
1032 kb
|
Time limit exceeded
|
0
|
Punctaj total
|
0
|