Pagini recente »
Borderou de evaluare (job #21642)
|
Borderou de evaluare (job #260400)
|
Borderou de evaluare (job #276975)
|
Borderou de evaluare (job #376649)
|
Borderou de evaluare (job #598280)
Borderou de evaluare (job #598280)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:15:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | fscanf(fin,"%d",&cerinta);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
main.c:16:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | fscanf(fin,"%d%d%d",&a,&b,&nr0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:17:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | fscanf(fin,"%d%d%d%d%d",&n,&m,&lei,&euro,&x);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:29:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
29 | fscanf(fin,"%d%d",&casa[i][2],&casa[i][3]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:87:20: warning: array subscript 4 is above array bounds of 'int[4]' [-Warray-bounds]
87 | if(juc[i][4] == -1)
| ~~~~~~^~~
main.c:94:42: warning: array subscript 4 is above array bounds of 'int[4]' [-Warray-bounds]
94 | if(juc[i][2] > rez2 && juc[i][4] != -1){
| ~~~~~~^~~
main.c:46:28: warning: array subscript 4 is above array bounds of 'int[4]' [-Warray-bounds]
46 | if(juc[jucator][4] != -1){
| ~~~~~~~~~~~~^~~
main.c:48:29: warning: array subscript 4 is above array bounds of 'int[4]' [-Warray-bounds]
48 | juc[jucator][4]=(juc[jucator][4]+nr0)%n;
| ~~~~~~~~~~~~^~~
main.c:59:37: warning: array subscript 4 is above array bounds of 'int[4]' [-Warray-bounds]
59 | juc[jucator][4]=-1;
| ~~~~~~~~~~~~^~~
main.c:77:78: warning: array subscript 3 is above array bounds of 'int[3]' [-Warray-bounds]
77 | juc[jucator][1]=juc[jucator][1]+(pozcasa+1)*casa[pozcasa][3];
| ~~~~~~~~~~~~~^~~
main.c:73:37: warning: array subscript 4 is above array bounds of 'int[4]' [-Warray-bounds]
73 | juc[jucator][4]=-1;
| ~~~~~~~~~~~~^~~
main.c:37:16: warning: array subscript 4 is above array bounds of 'int[4]' [-Warray-bounds]
37 | juc[i][4]=0;
| ~~~~~~^~~
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
|
2 ms
|
131 kb
|
Pomana, pentru ca la OJI sunt 10 puncte din oficiu
|
5
|
3
|
1 ms
|
262 kb
|
OK
|
5
|
4
|
1 ms
|
262 kb
|
OK
|
5
|
5
|
6 ms
|
393 kb
|
OK
|
5
|
6
|
2 ms
|
262 kb
|
OK
|
5
|
7
|
1 ms
|
262 kb
|
Incorect
|
0
|
8
|
1 ms
|
389 kb
|
Incorect
|
0
|
9
|
1 ms
|
262 kb
|
OK
|
5
|
10
|
7 ms
|
389 kb
|
OK
|
5
|
11
|
7 ms
|
389 kb
|
OK
|
5
|
12
|
7 ms
|
393 kb
|
OK
|
5
|
13
|
1 ms
|
262 kb
|
Incorect
|
0
|
14
|
1 ms
|
262 kb
|
OK
|
5
|
15
|
1 ms
|
262 kb
|
Incorect
|
0
|
16
|
1 ms
|
393 kb
|
Incorect
|
0
|
17
|
2 ms
|
262 kb
|
Incorect
|
0
|
18
|
1 ms
|
262 kb
|
Incorect
|
0
|
19
|
1 ms
|
262 kb
|
Incorect
|
0
|
20
|
8 ms
|
393 kb
|
Incorect
|
0
|
Punctaj total
|
55
|