Borderou de evaluare (job #2020688)
Utilizator | Data | 11 septembrie 2017 14:51:05 | |
---|---|---|---|
Problema | Arborest | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:13: warning: ISO C99 requires whitespace after the macro name [enabled by default]
#define nmax 100000
^
user.cpp:6:1: error: stray ‘\302’ in program
int n, k, A[nmax], sol, G[nmax], cod[nmax], Q, sf, tmp[nmax], B[nmax];
^
user.cpp:6:1: error: stray ‘\240’ in program
user.cpp:6:1: error: stray ‘\302’ in program
user.cpp:6:1: error: stray ‘\240’ in program
user.cpp:6:1: error: stray ‘\302’ in program
user.cpp:6:1: error: stray ‘\240’ in program
user.cpp:6:1: error: stray ‘\302’ in program
user.cpp:6:1: error: stray ‘\240’ in program
user.cpp:6:1: error: stray ‘\302’ in program
user.cpp:6:1: error: stray ‘\240’ in program
user.cpp:36:1: error: stray ‘\302’ in program
FOR(i, 1, n)
^
user.cpp:36:1: error: stray ‘\240’ in program
user.cpp: In function ‘int main()’:
user.cpp:33:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arborest.in", "r", stdin);
^
user.cpp:34:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arborest.out", "w", stdout);
^
user.cpp:35:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n ,&k);
^
user.cpp:37:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &A[i]), G[--A[i]]++;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !