Pagini recente » Borderou de evaluare (job #74169) | Borderou de evaluare (job #1284617) | Borderou de evaluare (job #1809377) | Borderou de evaluare (job #2100408) | Borderou de evaluare (job #1832176)
Borderou de evaluare (job #1832176)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f[v[st]]++;
^
user.cpp:29:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (f[v[i]] == 0)
^
user.cpp:31:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f[v[i]]++;
^
user.cpp:33:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (f[v[st]] == 1)
^
user.cpp:35:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f[v[st]]--;
^
user.cpp:40:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f[v[st] ]--;
^
user.cpp:41:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (f[v[st]] == 0)
^
user.cpp:11:10: warning: unused variable ‘ch’ [-Wunused-variable]
char ch;
^
user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teatru.in","r",stdin);
^
user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teatru.out","w",stdout);
^
user.cpp:12:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&n,&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 316kb | OK | 10 |
4 | 0ms | 316kb | OK | 10 |
5 | 0ms | 316kb | OK | 10 |
6 | 0ms | 284kb | Incorect | 0 |
7 | 0ms | 292kb | Incorect | 0 |
8 | 0ms | 284kb | Incorect | 0 |
9 | 0ms | 316kb | Incorect | 0 |
10 | 0ms | 316kb | Incorect | 0 |
Punctaj total | 50 |