Borderou de evaluare (job #1515329)
Raport evaluator
Compilare:
user.cpp: In function ‘bool eval()’:
user.cpp:31:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
bool r=b[s[ind]];
^
user.cpp: In function ‘int main()’:
user.cpp:90:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
b[ch] = !b[ch];
^
user.cpp:90:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
b[ch] = !b[ch];
^
user.cpp:74:24: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s, 1500, fin);
^
user.cpp:86:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d\n", &t);
^
user.cpp:88:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%c", &ch);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 448kb | OK | 10 |
2 | 0ms | 444kb | Incorect | 0 |
3 | 0ms | 444kb | OK | 10 |
4 | 0ms | 448kb | OK | 10 |
5 | 0ms | 444kb | Incorect | 0 |
6 | 0ms | 448kb | Incorect | 0 |
7 | 0ms | 448kb | Incorect | 0 |
8 | 0ms | 444kb | Incorect | 0 |
9 | 0ms | 448kb | Incorect | 0 |
10 | 0ms | 448kb | Incorect | 0 |
Punctaj total | 30 |