Borderou de evaluare (job #2585325)
Utilizator | Data | 18 martie 2020 22:56:55 | |
---|---|---|---|
Problema | A+B | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void* run(void*)':
main.cpp:37:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp:32:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("adunare.in", "r", stdin);
^
main.cpp:33:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("adunare.out", "w", stdout);
^
main.cpp:35:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a, &b);
^
./ccUzMeNC.o: In function `main':
main.cpp:(.text.startup+0x21): undefined reference to `pthread_create'
main.cpp:(.text.startup+0x2c): undefined reference to `pthread_join'
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 !