Pagini recente »
Borderou de evaluare (job #533885)
|
Borderou de evaluare (job #681127)
|
Borderou de evaluare (job #761650)
Borderou de evaluare (job #761650)
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", &n);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:32:16: warning: 'm' may be used uninitialized [-Wmaybe-uninitialized]
32 | for(i=0;i<m-1;i++){
| ~^~
main.c:9:18: note: 'm' was declared here
9 | int n, d, i, m, nc, nn, c, max, j, dp, x;
| ^
main.c:37:32: warning: 'dp' may be used uninitialized [-Wmaybe-uninitialized]
37 | if((d+1)*(d+1)>=nc && dp<d)
| ~~~~~~~~~~~~~~~~^~~~~~~
main.c:9:40: note: 'dp' was declared here
9 | int n, d, i, m, nc, nn, c, max, j, dp, x;
| ^~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
2
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
4
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
5
|
1 ms
|
245 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
|
245 kb
|
Incorect
|
0
|
|
Punctaj total
|
0
|