Pagini recente » Borderou de evaluare (job #419373) | Borderou de evaluare (job #1198285) | Borderou de evaluare (job #2719643) | Borderou de evaluare (job #2544008) | Borderou de evaluare (job #2248356)
Borderou de evaluare (job #2248356)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:24:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cnt[a[i]] += 2;
^
user.cpp:25:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
used[a[i]] ++;
^
user.cpp:38:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
--cnt[a[i]];
^
user.cpp:61:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
--used[ans[i]];
^
user.cpp:62:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
--cnt[ans[i]];
^
user.cpp:14:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", (a+1));
^
user.cpp: In function ‘int main()’:
user.cpp:72:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("laundering.in", "r", stdin);
^
user.cpp:73:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("laundering.out", "w", stdout);
^
user.cpp:78:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &tests);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 76ms | 1544kb | Incorect | 0 |
Punctaj total | 0 |