Pagini recente » Borderou de evaluare (job #18390) | Borderou de evaluare (job #1228347) | Borderou de evaluare (job #739136) | Borderou de evaluare (job #1677069) | Borderou de evaluare (job #1671695)
Borderou de evaluare (job #1671695)
Raport evaluator
Compilare:
user.cpp: In function ‘int main(int, const char**)’:
user.cpp:34:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
aparitii[s[j]]++;
^
user.cpp:62:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(aparitii[s[j]]%2==0)
^
user.cpp:18:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &n);
^
user.cpp:19:19: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s, 350, in);
^
user.cpp:24:20: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s, 350, in);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 100 |
Punctaj total | 100 |