Pagini recente » Borderou de evaluare (job #82275) | Borderou de evaluare (job #2123278) | Borderou de evaluare (job #1324730) | Borderou de evaluare (job #841646) | Borderou de evaluare (job #1592597)
Borderou de evaluare (job #1592597)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
queue[s[0]]++;
^
user.cpp:29:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (queue[s[j]] == 0)
^
user.cpp:31:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
queue[s[j]]++;
^
user.cpp:35:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
queue[s[j]]++;
^
user.cpp:46:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
queue[s[i]]--;
^
user.cpp:47:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (queue[s[i]] == 0)
^
user.cpp:12:37: 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:13:39: 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:14:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.cpp:15:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", s+0);
^
user.cpp:17:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", s+l);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | OK | 10 |
2 | 0ms | 256kb | OK | 10 |
3 | 4ms | 312kb | OK | 10 |
4 | 4ms | 304kb | OK | 10 |
5 | 4ms | 308kb | OK | 10 |
6 | 4ms | 280kb | OK | 10 |
7 | 4ms | 284kb | OK | 10 |
8 | 4ms | 280kb | OK | 10 |
9 | 8ms | 308kb | OK | 10 |
10 | 8ms | 304kb | OK | 10 |
Punctaj total | 100 |