Borderou de evaluare (job #2391847)
| Utilizator | Data | 29 martie 2019 12:12:27 | |
|---|---|---|---|
| Problema | Statistici de ordine | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'char N()':
main.cpp:9:15: error: 'char N()' redeclared as different kind of symbol
inline char N()
^
main.cpp:6:21: note: previous declaration 'const int N'
const int M=3000001,N=30000000;
^
main.cpp: In function 'int A()':
main.cpp:18:14: error: 'N' cannot be used as a function
char c=N();
^
main.cpp:20:13: error: 'N' cannot be used as a function
c=N();
^
main.cpp:22:26: error: 'N' cannot be used as a function
x=x*10+c-'0',c=N();
^
main.cpp: In function 'int main()':
main.cpp:48:81: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sdo.in","r",stdin),freopen("sdo.out","w",stdout),fread(r,1,N,stdin);
^
main.cpp:48:81: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:48:81: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
