Pagini recente »
Borderou de evaluare (job #5103)
|
Borderou de evaluare (job #465610)
|
Borderou de evaluare (job #159580)
|
Borderou de evaluare (job #387659)
|
Borderou de evaluare (job #682309)
Borderou de evaluare (job #682309)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:8:8: warning: passing argument 1 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types]
8 | fscanf("gondola.in", "%d", &n);
| ^~~~~~~~~~~~
| |
| char *
In file included from main.c:1:
/usr/include/stdio.h:415:37: note: expected 'FILE * restrict' but argument is of type 'char *'
415 | extern int fscanf (FILE *__restrict __stream,
| ~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:12:20: warning: passing argument 1 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types]
12 | fscanf("gondola.in", "%d", &p);
| ^~~~~~~~~~~~
| |
| char *
In file included from main.c:1:
/usr/include/stdio.h:415:37: note: expected 'FILE * restrict' but argument is of type 'char *'
415 | extern int fscanf (FILE *__restrict __stream,
| ~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:15:16: warning: passing argument 1 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types]
15 | fscanf("gondola.in", "%d", &p);
| ^~~~~~~~~~~~
| |
| char *
In file included from main.c:1:
/usr/include/stdio.h:415:37: note: expected 'FILE * restrict' but argument is of type 'char *'
415 | extern int fscanf (FILE *__restrict __stream,
| ~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:33:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
33 | else
| ^~~~
main.c:35:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
35 | if(maxdif<dif)
| ^~
main.c:43:9: warning: passing argument 1 of 'fprintf' from incompatible pointer type [-Wincompatible-pointer-types]
43 | fprintf("gondola.in", "%d \n%d \n%d", sum);
| ^~~~~~~~~~~~
| |
| char *
In file included from /usr/include/stdio.h:894,
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:43:30: warning: format '%d' expects a matching 'int' argument [-Wformat=]
43 | fprintf("gondola.in", "%d \n%d \n%d", sum);
| ~^
| |
| int
main.c:43:35: warning: format '%d' expects a matching 'int' argument [-Wformat=]
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
505 ms
|
118 kb
|
Time limit exceeded
|
0
|
2
|
502 ms
|
118 kb
|
Time limit exceeded
|
0
|
3
|
509 ms
|
118 kb
|
Time limit exceeded
|
0
|
4
|
505 ms
|
118 kb
|
Time limit exceeded
|
0
|
5
|
503 ms
|
118 kb
|
Time limit exceeded
|
0
|
6
|
507 ms
|
118 kb
|
Time limit exceeded
|
0
|
7
|
505 ms
|
118 kb
|
Time limit exceeded
|
0
|
8
|
508 ms
|
118 kb
|
Time limit exceeded
|
0
|
9
|
502 ms
|
118 kb
|
Time limit exceeded
|
0
|
10
|
503 ms
|
118 kb
|
Time limit exceeded
|
0
|
Punctaj total
|
0
|