Pagini recente »
Borderou de evaluare (job #211935)
|
Borderou de evaluare (job #399164)
|
Borderou de evaluare (job #185022)
|
Borderou de evaluare (job #338149)
|
Borderou de evaluare (job #598248)
Borderou de evaluare (job #598248)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:18:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
18 | fscanf(fin,"%d",&cerinta);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
main.c:19:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
19 | fscanf(fin,"%d%d%d%d%d%d%d%d",&a,&b,&nr0,&n,&m,&lei,&euro,&nrmutari);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:31:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
31 | fscanf(fin,"%d%d",&casa[i][2],&casa[i][3]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:48:26: warning: array subscript 4 is above array bounds of 'int[4]' [-Warray-bounds]
48 | if(juc[jucator][4] != -1){
| ~~~~~~~~~~~~^~~
main.c:50:26: warning: array subscript 4 is above array bounds of 'int[4]' [-Warray-bounds]
50 | juc[jucator][4]=juc[jucator][4]+nr0;
| ~~~~~~~~~~~~^~~
main.c:52:29: warning: array subscript 4 is above array bounds of 'int[4]' [-Warray-bounds]
52 | juc[jucator][4]=juc[jucator][4]%n;
| ~~~~~~~~~~~~^~~
main.c:53:29: warning: array subscript 4 is above array bounds of 'int[4]' [-Warray-bounds]
53 | if(juc[jucator][4] == 0)
| ~~~~~~~~~~~~^~~
main.c:54:30: warning: array subscript 4 is above array bounds of 'int[4]' [-Warray-bounds]
54 | juc[jucator][4]=n;
| ~~~~~~~~~~~~^~~
main.c:56:14: warning: array subscript 4 is above array bounds of 'int[4]' [-Warray-bounds]
56 | fprintf(fout,"%d %d\n",jucator,juc[jucator][4]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:61:34: warning: array subscript 4 is above array bounds of 'int[4]' [-Warray-bounds]
61 | if(casa[juc[jucator][4]][1] == 2){
| ~~~~~~~~~~~~^~~
main.c:74:37: warning: array subscript 4 is above array bounds of 'int[4]' [-Warray-bounds]
74 | juc[jucator][4]=-1;
| ~~~~~~~~~~~~^~~
main.c:80:34: warning: array subscript 4 is above array bounds of 'int[4]' [-Warray-bounds]
80 | if(casa[juc[jucator][4]][1] == 4){
| ~~~~~~~~~~~~^~~
main.c:83:90: warning: array subscript 3 is above array bounds of 'int[3]' [-Warray-bounds]
83 | juc[jucator][1]=juc[jucator][1]+juc[jucator][4]*casa[juc[jucator][4]][3];
| ~~~~~~~~~~~~~~~~~~~~~^~~
main.c:89:37: warning: array subscript 4 is above array bounds of 'int[4]' [-Warray-bounds]
89 | juc[jucator][4]=-1;
| ~~~~~~~~~~~~^~~
main.c:38:16: warning: array subscript 4 is above array bounds of 'int[4]' [-Warray-bounds]
38 | juc[i][4]=1;
| ~~~~~~^~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
262 kb
|
Pomana, pentru ca la OJI sunt 10 puncte din oficiu
|
5
|
2
|
1 ms
|
262 kb
|
Pomana, pentru ca la OJI sunt 10 puncte din oficiu
|
5
|
3
|
1 ms
|
262 kb
|
Incorect
|
0
|
4
|
1 ms
|
262 kb
|
Incorect
|
0
|
5
|
1 ms
|
262 kb
|
Incorect
|
0
|
6
|
1 ms
|
262 kb
|
Incorect
|
0
|
7
|
2 ms
|
262 kb
|
Incorect
|
0
|
8
|
1 ms
|
389 kb
|
Incorect
|
0
|
9
|
7 ms
|
389 kb
|
Incorect
|
0
|
10
|
9 ms
|
393 kb
|
Incorect
|
0
|
11
|
9 ms
|
262 kb
|
Incorect
|
0
|
12
|
9 ms
|
393 kb
|
Incorect
|
0
|
13
|
7 ms
|
389 kb
|
Incorect
|
0
|
14
|
8 ms
|
389 kb
|
Incorect
|
0
|
15
|
14 ms
|
524 kb
|
Incorect
|
0
|
16
|
15 ms
|
520 kb
|
Incorect
|
0
|
17
|
17 ms
|
389 kb
|
Incorect
|
0
|
18
|
18 ms
|
258 kb
|
Incorect
|
0
|
19
|
9 ms
|
385 kb
|
Incorect
|
0
|
20
|
13 ms
|
524 kb
|
Incorect
|
0
|
Punctaj total
|
10
|