Borderou de evaluare (job #2243372)
Utilizator | Data | 20 septembrie 2018 12:59:50 | |
---|---|---|---|
Problema | Gap | Status | done |
Runda | Arhiva ICPC | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:44: error: ‘memset’ was not declared in this scope
memset(all_count, 0, sizeof(all_count));
^
user.cpp:25:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < number.length(); ++i)
~~^~~~~~~~~~~~~~~~~
user.cpp:46:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < digit_count.size() - 1; ++i)
~~^~~~~~~~~~~~~~~~~~~~~~~~
user.cpp:67:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < digit_count.size(); ++j)
~~^~~~~~~~~~~~~~~~~~~~
user.cpp:12:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("gap.in", "r", stdin);
^
user.cpp:13:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("gap.out", "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !