Pagini recente » Borderou de evaluare (job #1620748) | Borderou de evaluare (job #420294) | Borderou de evaluare (job #2096960) | Borderou de evaluare (job #2466006) | Borderou de evaluare (job #1241617)
Borderou de evaluare (job #1241617)
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
^
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 | 444kb | OK | 5 |
| 3 | 0ms | 464kb | OK | 5 |
| 4 | 0ms | 472kb | OK | 5 |
| 5 | 0ms | 604kb | OK | 5 |
| 6 | 4ms | 620kb | OK | 5 |
| 7 | 8ms | 1000kb | OK | 5 |
| 8 | 8ms | 804kb | OK | 5 |
| 9 | 20ms | 1432kb | OK | 5 |
| 10 | 20ms | 1236kb | OK | 5 |
| 11 | 32ms | 1660kb | OK | 5 |
| 12 | 32ms | 1656kb | OK | 5 |
| 13 | 72ms | 3016kb | OK | 5 |
| 14 | 68ms | 2944kb | OK | 5 |
| 15 | 112ms | 4744kb | OK | 5 |
| 16 | 104ms | 4296kb | OK | 5 |
| 17 | 144ms | 5540kb | OK | 5 |
| 18 | 144ms | 5036kb | OK | 5 |
| 19 | 196ms | 7460kb | OK | 5 |
| 20 | 176ms | 7848kb | OK | 5 |
| Penalizare 9 (pentru 18.2 minute) | -9 |
| Punctaj total | 91 |