Pagini recente »
Borderou de evaluare (job #417608)
|
Borderou de evaluare (job #636378)
|
Borderou de evaluare (job #686822)
|
Borderou de evaluare (job #552898)
|
Borderou de evaluare (job #615495)
Borderou de evaluare (job #615495)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:78:22: warning: passing argument 1 of 'fprintf' from incompatible pointer type [-Wincompatible-pointer-types]
78 | fprintf( "%d", cnt);
| ^~~~
| |
| char *
In file included from /usr/include/stdio.h:866,
from main.c:1:
/usr/include/bits/stdio2.h:103:27: note: expected 'FILE * restrict' but argument is of type 'char *'
103 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
| ~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:78:28: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast [-Wint-conversion]
78 | fprintf( "%d", cnt);
| ^~~
| |
| int
In file included from /usr/include/stdio.h:866,
from main.c:1:
/usr/include/bits/stdio2.h:103:60: note: expected 'const char * restrict' but argument is of type 'int'
103 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
main.c:95:13: warning: "/*" within comment [-Wcomment]
95 | /*
|
main.c:13:19: warning: unused variable 'nrdiviz' [-Wunused-variable]
13 | int n,cerinta,nrdiviz,cnt,i,j,p,t,aux,m,s;
| ^~~~~~~
main.c:8:17: warning: variable 'fout' set but not used [-Wunused-but-set-variable]
8 | FILE *fin, *fout;
| ^~~~
main.c:17:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | fscanf( fin, "%d%d", &cerinta, &n);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:27:14: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized]
27 | s++;
| ~^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
131 kb
|
Incorect
|
0
|
2
|
1 ms
|
131 kb
|
Incorect
|
0
|
3
|
1 ms
|
131 kb
|
Incorect
|
0
|
4
|
1 ms
|
131 kb
|
Incorect
|
0
|
5
|
1 ms
|
131 kb
|
Incorect
|
0
|
6
|
97 ms
|
131 kb
|
Incorect
|
0
|
7
|
278 ms
|
131 kb
|
Incorect
|
0
|
8
|
385 ms
|
131 kb
|
Incorect
|
0
|
9
|
1306 ms
|
131 kb
|
Time limit exceeded
|
0
|
10
|
1 ms
|
131 kb
|
Incorect
|
0
|
11
|
1 ms
|
131 kb
|
Incorect
|
0
|
12
|
1 ms
|
131 kb
|
Incorect
|
0
|
13
|
1 ms
|
131 kb
|
Incorect
|
0
|
14
|
1 ms
|
131 kb
|
Incorect
|
0
|
15
|
1 ms
|
131 kb
|
Incorect
|
0
|
16
|
1 ms
|
131 kb
|
Incorect
|
0
|
17
|
1 ms
|
131 kb
|
Incorect
|
0
|
18
|
2 ms
|
131 kb
|
Incorect
|
0
|
19
|
1 ms
|
131 kb
|
Incorect
|
0
|
20
|
1 ms
|
131 kb
|
Incorect
|
0
|
21
|
1 ms
|
131 kb
|
Incorect
|
0
|
22
|
1 ms
|
131 kb
|
Incorect
|
0
|
23
|
1 ms
|
131 kb
|
Incorect
|
0
|
24
|
1 ms
|
131 kb
|
Incorect
|
0
|
25
|
1 ms
|
131 kb
|
Incorect
|
0
|
Punctaj total
|
0
|