Pagini recente » Cod sursa (job #308194) | Borderou de evaluare (job #897010) | Borderou de evaluare (job #1201654) | Borderou de evaluare (job #1277801) | Borderou de evaluare (job #2234279)
Borderou de evaluare (job #2234279)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(r - l + 1 > zero.size()) {
~~~~~~~~~~^~~~~~~~~~~~~
user.cpp:46:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(dr == zero.size() || (st != -1 && l - zero[st] <= zero[dr] - r)) {
~~~^~~~~~~~~~~~~~
user.cpp:50:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(st == -1 || (dr < zero.size() && l - zero[st] > zero[dr] - r))
~~~^~~~~~~~~~~~~
user.cpp:19: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:20: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:21:36: 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:30:27: 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 | 8ms | 756kb | Incorect | 0 | 0 |
✓ | 2 | 8ms | 756kb | Incorect | 0 |
✓ | 3 | 8ms | 936kb | Incorect | 0 |
✓ | 4 | 8ms | 804kb | Incorect | 0 |
✓ | 5 | Depăşit | 1076kb | Time limit exceeded. | 0 | 0 |
✓ | 6 | Depăşit | 1072kb | Time limit exceeded. | 0 |
✓ | 7 | Depăşit | 1072kb | Time limit exceeded. | 0 |
✓ | 8 | Depăşit | 1072kb | Time limit exceeded. | 0 |
✓ | 9 | Depăşit | 1424kb | Time limit exceeded. | 0 | 0 |
✓ | 10 | Depăşit | 1420kb | Time limit exceeded. | 0 |
✓ | 11 | Depăşit | 1420kb | Time limit exceeded. | 0 |
✓ | 12 | Depăşit | 1424kb | Time limit exceeded. | 0 |
✗ | 13 | Depăşit | 1420kb | Time limit exceeded. | 0 | 0 |
✗ | 14 | Depăşit | 1424kb | Time limit exceeded. | 0 |
✗ | 15 | Depăşit | 1420kb | Time limit exceeded. | 0 |
✓ | 16 | Depăşit | 1424kb | Time limit exceeded. | 0 |
✓ | 17 | Depăşit | 3104kb | Time limit exceeded. | 0 | 0 |
✗ | 18 | Depăşit | 3100kb | Time limit exceeded. | 0 |
✗ | 19 | Depăşit | 3108kb | Time limit exceeded. | 0 |
✗ | 20 | Depăşit | 3100kb | Time limit exceeded. | 0 |
Punctaj total | 0 |