Pagini recente » Borderou de evaluare (job #1941940) | Borderou de evaluare (job #2511623) | Borderou de evaluare (job #2775194) | Borderou de evaluare (job #3136914) | Borderou de evaluare (job #1895963)
Borderou de evaluare (job #1895963)
Raport evaluator
Compilare:
user.cpp: In function ‘int best(char)’:
user.cpp:12:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(win[ch].size() == 0)
^
user.cpp:15:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return d[win[ch].front()];
^
user.cpp: In function ‘void baga(char, int)’:
user.cpp:20:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(!win[ch].empty() && d[i] > d[win[ch].back()])
^
user.cpp:20:44: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(!win[ch].empty() && d[i] > d[win[ch].back()])
^
user.cpp:21:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
win[ch].pop_back();
^
user.cpp:22:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]
win[ch].push_back(i);
^
user.cpp: In function ‘void scoate(char, int)’:
user.cpp:27:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!win[ch].empty() && win[ch].front() == i)
^
user.cpp:27:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!win[ch].empty() && win[ch].front() == i)
^
user.cpp:28:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
win[ch].pop_front();
^
user.cpp: In function ‘int main()’:
user.cpp:43:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &n, &k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 284kb | Incorect | 0 | 0 |
2 | 0ms | 288kb | Incorect | 0 |
3 | 0ms | 288kb | Incorect | 0 |
4 | 0ms | 288kb | Incorect | 0 |
5 | 0ms | 328kb | Incorect | 0 |
6 | 0ms | 324kb | Incorect | 0 |
7 | 8ms | 400kb | Incorect | 0 |
8 | 8ms | 404kb | Incorect | 0 |
9 | 16ms | 516kb | Incorect | 0 |
10 | 16ms | 516kb | Incorect | 0 |
11 | 28ms | 672kb | Incorect | 0 |
12 | 28ms | 676kb | Incorect | 0 |
13 | 56ms | 1064kb | Incorect | 0 |
14 | 56ms | 1072kb | Incorect | 0 |
15 | 84ms | 1456kb | Incorect | 0 |
16 | 88ms | 1456kb | Incorect | 0 |
17 | 116ms | 1848kb | Incorect | 0 |
18 | 116ms | 1852kb | Incorect | 0 |
19 | 144ms | 2236kb | Incorect | 0 |
20 | 144ms | 2236kb | Incorect | 0 |
Punctaj total | 0 |