Pagini recente » Borderou de evaluare (job #162064) | Borderou de evaluare (job #1731379) | Borderou de evaluare (job #1056948) | Borderou de evaluare (job #2373189) | Borderou de evaluare (job #1242055)
Borderou de evaluare (job #1242055)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:49:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(!P[S[0]].empty()) {
^
user.cpp:50:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a = P[S[0]].top().first;
^
user.cpp:51:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
b = P[S[0]].top().second;
^
user.cpp:53:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
P[S[0]].pop();
^
user.cpp:61:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
P[S[l - 1]].push(make_pair(DP[i], i));
^
user.cpp:38:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(inputFile.c_str(), "r", stdin);
^
user.cpp:39:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(outputFile.c_str(), "w", stdout);
^
user.cpp:42:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &K);
^
user.cpp:45:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", S);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 448kb | OK | 5 | 100 |
2 | 0ms | 448kb | OK | 5 |
3 | 0ms | 464kb | OK | 5 |
4 | 0ms | 468kb | OK | 5 |
5 | 0ms | 604kb | OK | 5 |
6 | 4ms | 616kb | OK | 5 |
7 | 8ms | 1000kb | OK | 5 |
8 | 12ms | 804kb | OK | 5 |
9 | 20ms | 1432kb | OK | 5 |
10 | 20ms | 1228kb | OK | 5 |
11 | 36ms | 1656kb | OK | 5 |
12 | 32ms | 1656kb | OK | 5 |
13 | 72ms | 3020kb | OK | 5 |
14 | 68ms | 2948kb | OK | 5 |
15 | 112ms | 4744kb | OK | 5 |
16 | 104ms | 4296kb | OK | 5 |
17 | 152ms | 5540kb | OK | 5 |
18 | 140ms | 5036kb | OK | 5 |
19 | 188ms | 7468kb | OK | 5 |
20 | 176ms | 7844kb | OK | 5 |
Punctaj total | 100 |