Pagini recente » Borderou de evaluare (job #730304) | Borderou de evaluare (job #662578) | Borderou de evaluare (job #569487) | Borderou de evaluare (job #2565563) | Borderou de evaluare (job #1832190)
Borderou de evaluare (job #1832190)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f[v[st]]++;
^
user.cpp:30:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (f[v[i]] == 0)
^
user.cpp:32:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f[v[i]]++;
^
user.cpp:35:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (f[v[st]] == 1)
^
user.cpp:37:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f[v[st]]--;
^
user.cpp:42:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f[v[st]]--;
^
user.cpp:43:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (f[v[st]] == 0)
^
user.cpp:12:10: warning: unused variable ‘ch’ [-Wunused-variable]
char ch;
^
user.cpp:9: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:10: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:13: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 | 272kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 320kb | OK | 10 |
4 | 0ms | 324kb | OK | 10 |
5 | 0ms | 316kb | OK | 10 |
6 | 0ms | 288kb | OK | 10 |
7 | 0ms | 304kb | OK | 10 |
8 | 0ms | 300kb | OK | 10 |
9 | 0ms | 320kb | OK | 10 |
10 | 0ms | 316kb | OK | 10 |
Punctaj total | 100 |