Pagini recente » Borderou de evaluare (job #1834702) | Borderou de evaluare (job #1082865) | Borderou de evaluare (job #208746) | Borderou de evaluare (job #177835) | Borderou de evaluare (job #2104361)
Borderou de evaluare (job #2104361)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < s.size(); i++)
^
user.cpp:37:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
val[s[i]] = i;
^
user.cpp:42:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < x.size(); j++) {
^
user.cpp:43:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nr += val[x[j]] * p12;
^
user.cpp:30:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zimeria.in", "r", stdin);
^
user.cpp:31:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zimeria.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 756kb | OK | 5 |
| 2 | 0ms | 1416kb | OK | 5 |
| 3 | 16ms | 1420kb | OK | 5 |
| 4 | 28ms | 1424kb | OK | 5 |
| 5 | 56ms | 1424kb | OK | 5 |
| 6 | 108ms | 1420kb | OK | 5 |
| 7 | 0ms | 736kb | Incorect | 0 |
| 8 | 0ms | 1396kb | Incorect | 0 |
| 9 | 0ms | 1408kb | Incorect | 0 |
| 10 | 0ms | 1404kb | Incorect | 0 |
| 11 | 4ms | 1404kb | Incorect | 0 |
| 12 | 4ms | 1404kb | Incorect | 0 |
| 13 | 12ms | 1404kb | Incorect | 0 |
| 14 | 24ms | 1400kb | Incorect | 0 |
| 15 | 28ms | 1400kb | Incorect | 0 |
| 16 | 40ms | 1404kb | Incorect | 0 |
| 17 | 56ms | 1404kb | Incorect | 0 |
| 18 | 68ms | 1404kb | Incorect | 0 |
| 19 | 88ms | 1404kb | Incorect | 0 |
| 20 | 108ms | 1400kb | Incorect | 0 |
| Punctaj total | 30 |