Borderou de evaluare (job #1243295)
Utilizator | Data | 15 octombrie 2014 19:16:01 | |
---|---|---|---|
Problema | Potriveala | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:35: error: ‘fopen_s’ was not declared in this scope
fopen_s( &f, "potriveala.in", "r");
^
user.cpp:45:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cache[*ptr]++;
^
user.cpp:54:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (!cache[*ptr])
^
user.cpp:75:54: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while (ptr < b + len_b && local_uses < cache[*ptr2])
^
user.cpp:34:21: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(a, 250000, f);
^
user.cpp:35:21: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(b, 250000, f);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !