Pagini recente »
Borderou de evaluare (job #740670)
|
Borderou de evaluare (job #54180)
|
Borderou de evaluare (job #178337)
|
Borderou de evaluare (job #388257)
|
Borderou de evaluare (job #811568)
Borderou de evaluare (job #811568)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:10:26: warning: unused variable 'x' [-Wunused-variable]
10 | int n, i, cf, copie, x, j, nr_max, ver_0, max;
| ^
main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf(fin, "%d", &n);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:16:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | fscanf(fin, "%d", &cf);
| ^~~~~~~~~~~~~~~~~~~~~~
main.c:52:12: warning: 'max' may be used uninitialized [-Wmaybe-uninitialized]
52 | while(v[max]){
| ~^~~~~
main.c:10:47: note: 'max' was declared here
10 | int n, i, cf, copie, x, j, nr_max, ver_0, max;
| ^~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
245 kb
|
OK
|
10
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
4
|
1 ms
|
245 kb
|
OK
|
10
|
5
|
1 ms
|
245 kb
|
OK
|
10
|
6
|
1 ms
|
245 kb
|
Incorect
|
0
|
7
|
1 ms
|
245 kb
|
Incorect
|
0
|
8
|
1 ms
|
245 kb
|
Incorect
|
0
|
9
|
1 ms
|
249 kb
|
Incorect
|
0
|
10
|
1 ms
|
249 kb
|
Incorect
|
0
|
Punctaj total
|
40
|