Borderou de evaluare (job #2687799)
Utilizator | Data | 20 decembrie 2020 10:52:05 | |
---|---|---|---|
Problema | Loterie | Status | done |
Runda | fmi-no-stress-10 | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:58:24: error: 'gcd' was not declared in this scope
dp[a][b] = (gcd(a, b) == 1);
^
main.cpp:43:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("loterie.in", "r", stdin);
^
main.cpp:44:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("loterie.out", "w", stdout);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !