Pagini recente »
Borderou de evaluare (job #711917)
|
Borderou de evaluare (job #195069)
|
Borderou de evaluare (job #72998)
|
Borderou de evaluare (job #379067)
|
Borderou de evaluare (job #773965)
Borderou de evaluare (job #773965)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:14:26: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'int *' [-Wformat=]
14 | fscanf( fin, "%lld", &v[i]);
| ~~~^ ~~~~~
| | |
| | int *
| long long int *
| %d
main.c:35:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=]
35 | fprintf( fout, "%lld ", v[i]);
| ~~~^ ~~~~
| | |
| | int
| long long int
| %d
main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf( fin, "%lld%lld%lld%lld", &c, &q, &n, &k);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:14:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fscanf( fin, "%lld", &v[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:23:11: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
23 | fscanf( fin, "%lld%lld", &s, &d);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:41:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
41 | fscanf(fin, "%lld%lld", &s, &d);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:52:14: warning: 'z' may be used uninitialized [-Wmaybe-uninitialized]
52 | r = v[z];
| ~^~~
main.c:9:27: note: 'z' was declared here
9 | long long c, q, s, d, z, t, x, max, l, i, k, n, r;// le-am pus pe toate long long sa fie mai usor caci nu stiam la unele .
| ^
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
2
|
4 ms
|
249 kb
|
Incorect
|
0
|
|
3
|
1 ms
|
237 kb
|
Incorect
|
0
|
|
4
|
29 ms
|
159 kb
|
Incorect
|
0
|
|
5
|
9 ms
|
512 kb
|
Incorect
|
0
|
|
6
|
9 ms
|
229 kb
|
Incorect
|
0
|
|
7
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
8
|
1 ms
|
258 kb
|
Incorect
|
0
|
|
9
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
10
|
1 ms
|
507 kb
|
Incorect
|
0
|
|
11
|
1 ms
|
245 kb
|
OK
|
5
|
|
12
|
1 ms
|
266 kb
|
OK
|
5
|
|
13
|
1 ms
|
245 kb
|
OK
|
5
|
|
14
|
1 ms
|
270 kb
|
OK
|
5
|
|
15
|
1 ms
|
270 kb
|
OK
|
5
|
|
16
|
1 ms
|
249 kb
|
OK
|
5
|
|
17
|
1 ms
|
245 kb
|
OK
|
5
|
|
18
|
1 ms
|
245 kb
|
OK
|
5
|
|
19
|
1 ms
|
245 kb
|
OK
|
5
|
|
20
|
1 ms
|
245 kb
|
OK
|
5
|
|
Punctaj total
|
50
|