Pagini recente » Borderou de evaluare (job #870277) | Borderou de evaluare (job #2203056) | Borderou de evaluare (job #3000698) | Borderou de evaluare (job #3175000) | Borderou de evaluare (job #2234035)
Borderou de evaluare (job #2234035)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int solve()’:
user.cpp:65:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (r - l + 1 > zero.size()) return -1;
~~~~~~~~~~^~~~~~~~~~~~~
user.cpp:62:9: warning: unused variable ‘i’ [-Wunused-variable]
int i, j;
^
user.cpp:62:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j;
^
user.cpp: In function ‘int main()’:
user.cpp:108:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 1; i < one.size(); i++)
~~^~~~~~~~~~~~
user.cpp:114:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 1; i < zero.size(); i++)
~~^~~~~~~~~~~~~
user.cpp:91:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("copii3.in","r",stdin);
^
user.cpp:92:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("copii3.out","w",stdout);
^
user.cpp:94:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n%s", &n, &q, s + 1);
^
user.cpp:119:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &l, &r);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 0ms | 1336kb | Incorect | 0 | 0 |
✓ | 2 | 0ms | 1332kb | Incorect | 0 |
✓ | 3 | 0ms | 1340kb | Incorect | 0 |
✓ | 4 | 0ms | 1336kb | Incorect | 0 |
✓ | 5 | 0ms | 1844kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
✓ | 6 | 0ms | 1844kb | Killed by signal 11(SIGSEGV). | 0 |
✓ | 7 | 0ms | 1904kb | Killed by signal 11(SIGSEGV). | 0 |
✓ | 8 | 0ms | 1920kb | Killed by signal 11(SIGSEGV). | 0 |
✓ | 9 | 56ms | 2244kb | Incorect | 0 | 0 |
✓ | 10 | 56ms | 2484kb | Incorect | 0 |
✓ | 11 | 56ms | 2244kb | Incorect | 0 |
✓ | 12 | 56ms | 2488kb | Incorect | 0 |
✗ | 13 | 216ms | 2296kb | Incorect | 0 | 0 |
✗ | 14 | 220ms | 2300kb | Incorect | 0 |
✗ | 15 | 220ms | 2240kb | Incorect | 0 |
✓ | 16 | 216ms | 2244kb | Incorect | 0 |
✓ | 17 | 352ms | 5500kb | Incorect | 0 | 0 |
✗ | 18 | 356ms | 5428kb | Incorect | 0 |
✗ | 19 | 352ms | 5552kb | Incorect | 0 |
✗ | 20 | 348ms | 5428kb | Incorect | 0 |
Punctaj total | 0 |