Borderou de evaluare (job #2757631)
Utilizator | Data | 5 iunie 2021 15:58:08 | |
---|---|---|---|
Problema | Rollercoaster | Status | done |
Runda | Junior Challenge 2021 Runda 2 | Compilator | c-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'fgetint':
main.c:9:13: error: both 'long' and 'short' in declaration specifiers
#define int long long
^
/usr/include/ctype.h:89:53: note: in expansion of macro 'int'
((*__ctype_b_loc ())[(int) (c)] & (unsigned short int) type)
^~~
main.c:9:18: error: both 'long' and 'short' in declaration specifiers
#define int long long
^
/usr/include/ctype.h:89:53: note: in expansion of macro 'int'
((*__ctype_b_loc ())[(int) (c)] & (unsigned short int) type)
^~~
main.c:9:13: error: both 'long' and 'short' in declaration specifiers
#define int long long
^
/usr/include/ctype.h:89:53: note: in expansion of macro 'int'
((*__ctype_b_loc ())[(int) (c)] & (unsigned short int) type)
^~~
main.c:9:18: error: both 'long' and 'short' in declaration specifiers
#define int long long
^
/usr/include/ctype.h:89:53: note: in expansion of macro 'int'
((*__ctype_b_loc ())[(int) (c)] & (unsigned short int) type)
^~~
main.c: In function 'main':
main.c:126:19: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
fprintf(fout, "%d %d\n", max_cost, max_nap % 10000007);
^
main.c:126:22: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=]
fprintf(fout, "%d %d\n", max_cost, max_nap % 10000007);
^
main.c: In function 'bgetc':
main.c:31:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
fread(rbuf, sizeof(char), BUFSIZE, fin);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !