Pagini recente » Borderou de evaluare (job #414784) | Borderou de evaluare (job #3279362) | Borderou de evaluare (job #307667) | Borderou de evaluare (job #505285) | Borderou de evaluare (job #2234033)
Borderou de evaluare (job #2234033)
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:107:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 1; i < one.size(); i++)
~~^~~~~~~~~~~~
user.cpp:111:19: 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:115: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 | 1332kb | Incorect | 0 |
✓ | 4 | 0ms | 1332kb | Incorect | 0 |
✓ | 5 | 0ms | 1848kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
✓ | 6 | 0ms | 1848kb | 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 | 2240kb | Incorect | 0 | 0 |
✓ | 10 | 56ms | 2484kb | Incorect | 0 |
✓ | 11 | 56ms | 2244kb | Incorect | 0 |
✓ | 12 | 56ms | 2488kb | Incorect | 0 |
✗ | 13 | 216ms | 2300kb | Incorect | 0 | 0 |
✗ | 14 | 216ms | 2304kb | Incorect | 0 |
✗ | 15 | 216ms | 2244kb | Incorect | 0 |
✓ | 16 | 220ms | 2240kb | Incorect | 0 |
✓ | 17 | 356ms | 5508kb | Incorect | 0 | 0 |
✗ | 18 | 352ms | 5428kb | Incorect | 0 |
✗ | 19 | 356ms | 5552kb | Incorect | 0 |
✗ | 20 | 356ms | 5428kb | Incorect | 0 |
Punctaj total | 0 |