Borderou de evaluare (job #2330866)
Utilizator | Data | 28 ianuarie 2019 21:24:16 | |
---|---|---|---|
Problema | Factorial | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:8:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("fact.in", "r", stdin);
^
main.cpp:9:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("fact.out", "w", stdout);
^
main.cpp:10:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
./ccPFeJ6j.o: In function `main':
main.cpp:(.text.startup+0x65): undefined reference to `nrz(long long)'
main.cpp:(.text.startup+0x82): undefined reference to `nrz(long long)'
collect2: error: ld returned 1 exit status
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !