Pagini recente » Borderou de evaluare (job #2580343) | Borderou de evaluare (job #1893511) | Borderou de evaluare (job #1443016) | Borderou de evaluare (job #1607632) | Borderou de evaluare (job #2210903)
Borderou de evaluare (job #2210903)
Raport evaluator
Compilare:
user.cpp: In function ‘int solve(int)’:
user.cpp:48:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
auto v = nextCharIndices[last];
^
user.cpp:53:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = startIndex; j < v.size(); ++j) {
~~^~~~~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:74:31: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[20]’ [-Wformat=]
code = scanf("%s", &words[n]);
^
user.cpp:68:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("text3.in", "r", stdin);
^
user.cpp:69:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("text3.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 920kb | Corect | 10 |
| 2 | 16ms | 2816kb | Corect | 10 |
| 3 | 0ms | 848kb | Corect | 10 |
| 4 | 0ms | 872kb | Corect | 10 |
| 5 | 20ms | 1188kb | Corect | 10 |
| 6 | 4ms | 1224kb | Corect | 10 |
| 7 | 0ms | 856kb | Corect | 10 |
| 8 | 16ms | Depăşit | Memory limit exceeded. | 0 |
| 9 | 0ms | 872kb | Corect | 10 |
| 10 | 0ms | 1064kb | Corect | 10 |
| Punctaj total | 90 |