Pagini recente »
Borderou de evaluare (job #522689)
|
Borderou de evaluare (job #727350)
|
Borderou de evaluare (job #680364)
|
Borderou de evaluare (job #345760)
|
Borderou de evaluare (job #718684)
Borderou de evaluare (job #718684)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:35:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
35 | for(j = 9 ;j >= 0 ; j--)
| ^~~
main.c:38:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
38 | if(v2[j] > v[j]){
| ^~
main.c:15:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | fscanf(fin,"%d%d%d",&c,&n,&m);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:18:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
18 | fscanf(fin,"%d",&p);
| ^~~~~~~~~~~~~~~~~~~
main.c:30:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
30 | fscanf(fin,"%d",&v1[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~
main.c:38:22: warning: array subscript -1 is below array bounds of 'int[10]' [-Warray-bounds]
38 | if(v2[j] > v[j]){
| ~~^~~
main.c:9:5: note: while referencing 'v2'
9 | int v2[10];
| ^~
main.c:38:29: warning: array subscript -1 is below array bounds of 'int[10]' [-Warray-bounds]
38 | if(v2[j] > v[j]){
| ~^~~
main.c:7:5: note: while referencing 'v'
7 | int v[10];
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
Pomana - puncte din oficiu
|
10
|
2
|
1 ms
|
245 kb
|
OK
|
5
|
3
|
2 ms
|
118 kb
|
OK
|
5
|
4
|
1 ms
|
245 kb
|
OK
|
5
|
5
|
1 ms
|
245 kb
|
OK
|
5
|
6
|
1 ms
|
245 kb
|
OK
|
5
|
7
|
1 ms
|
245 kb
|
OK
|
5
|
8
|
1 ms
|
245 kb
|
OK
|
5
|
9
|
1 ms
|
245 kb
|
Incorect
|
0
|
10
|
1 ms
|
245 kb
|
Incorect
|
0
|
11
|
1 ms
|
245 kb
|
Incorect
|
0
|
12
|
1 ms
|
245 kb
|
Incorect
|
0
|
13
|
1 ms
|
245 kb
|
OK
|
5
|
14
|
1 ms
|
249 kb
|
Incorect
|
0
|
15
|
99 ms
|
507 kb
|
Incorect
|
0
|
16
|
189 ms
|
512 kb
|
Incorect
|
0
|
17
|
279 ms
|
2338 kb
|
Incorect
|
0
|
18
|
349 ms
|
2342 kb
|
Incorect
|
0
|
19
|
299 ms
|
2084 kb
|
OK
|
5
|
Punctaj total
|
55
|