Pagini recente » Borderou de evaluare (job #1256557) | Borderou de evaluare (job #1596976) | Borderou de evaluare (job #3248774) | Borderou de evaluare (job #1282685) | Borderou de evaluare (job #1670475)
Borderou de evaluare (job #1670475)
Raport evaluator
Compilare:
user.cpp: In function ‘int main(int, const char**)’:
user.cpp:33:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
aparitii[s[j]]++;
^
user.cpp:61:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(aparitii[s[j]]%2==0)
^
user.cpp:17: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:18: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:23: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 |