Pagini recente » Borderou de evaluare (job #2989188) | Borderou de evaluare (job #1446946) | Borderou de evaluare (job #2473424) | Borderou de evaluare (job #3139963) | Borderou de evaluare (job #2100178)
Borderou de evaluare (job #2100178)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(!deq[sign[i]].empty() && i - deq[sign[i]].front() > y) {
^
user.cpp:38:55: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(!deq[sign[i]].empty() && i - deq[sign[i]].front() > y) {
^
user.cpp:39:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
deq[sign[i]].pop_front();
^
user.cpp:41:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(!deq[sign[i - x]].empty() && v[deq[sign[i - x]].back()] > v[i - x]) {
^
user.cpp:41:61: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(!deq[sign[i - x]].empty() && v[deq[sign[i - x]].back()] > v[i - x]) {
^
user.cpp:42:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
deq[sign[i - x]].pop_back();
^
user.cpp:44:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
deq[sign[i - x]].push_back(i - x);
^
user.cpp:45:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!deq[sign[i]].empty() && ans - (v[i] - v[deq[sign[i]].front()]) < 0) {
^
user.cpp:45:64: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!deq[sign[i]].empty() && ans - (v[i] - v[deq[sign[i]].front()]) < 0) {
^
user.cpp:46:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ans = v[i] - v[deq[sign[i]].front()];
^
user.cpp:47:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pos = deq[sign[i]].front() + 1;
^
user.cpp:48:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
len = i - deq[sign[i]].front();
^
user.cpp:24:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d %d %d " ,&n,&x,&y);
^
user.cpp:26:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%lf " ,&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 484kb | OK | 5 |
2 | 0ms | 488kb | OK | 5 |
3 | 72ms | 1412kb | OK | 5 |
4 | 72ms | 1408kb | OK | 5 |
5 | 72ms | 1364kb | OK | 5 |
6 | 72ms | 1360kb | OK | 5 |
7 | 72ms | 1552kb | OK | 5 |
8 | 72ms | 1492kb | OK | 5 |
9 | 64ms | 1368kb | OK | 5 |
10 | 72ms | 1460kb | OK | 5 |
11 | 76ms | 1412kb | OK | 5 |
12 | 76ms | 1336kb | OK | 5 |
13 | 76ms | 1432kb | OK | 5 |
14 | 80ms | 1372kb | OK | 5 |
15 | 72ms | 1536kb | OK | 5 |
16 | 72ms | 1432kb | OK | 5 |
17 | 76ms | 1500kb | OK | 5 |
18 | 72ms | 1436kb | OK | 5 |
19 | 76ms | 1600kb | OK | 5 |
20 | 72ms | 1408kb | OK | 5 |
Punctaj total | 100 |