Ilgiausias didejantis posekis 2
- [1] 2025-02-08 11:17 (50)
- [2] 2025-02-08 11:18 (50)
- [3] 2025-02-08 12:11 (0)
- [4] 2025-02-08 12:12 (0)
- [5] 2025-02-08 12:17 (0)
- [6] 2025-02-08 12:17 (50)
- [7] 2025-02-08 12:18 (50)
- [8] 2025-02-08 12:20 (60)
- [9] 2025-02-08 12:21 (60)
- [10] 2025-02-08 12:50 (60)
- [11] 2025-02-08 12:52 (60)
- [12] 2025-02-08 12:55 (60)
- [13] 2025-02-08 12:56 (0)
- [14] 2025-02-08 12:56 (60)
- [15] 2025-02-08 12:58 (0)
- [16] 2025-02-08 12:59 (0)
- [17] 2025-02-08 12:59 (0)
- [18] 2025-02-08 13:00 (0)
- [19] 2025-02-08 13:00 (80)
- [20] 2025-02-08 13:01 (100)
Taškai: 0
Compile: FAIL
posekis2.cpp: In function ‘int main()’: posekis2.cpp:13:12: warning: overflow in conversion from ‘long int’ to ‘std::vector<int>::value_type’ {aka ‘int’} changes value from ‘20000000000’ to ‘-1474836480’ [-Woverflow] 13 | #define BE 20000000000 | ^~~~~~~~~~~ posekis2.cpp:29:26: note: in expansion of macro ‘BE’ 29 | vector<int> dp(MAXN, BE); | ^~ posekis2.cpp:30:13: warning: overflow in conversion from ‘long int’ to ‘__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type’ {aka ‘int’} changes value from ‘-20000000000’ to ‘1474836480’ [-Woverflow] 30 | dp[0] = -BE; | ^ posekis2.cpp:42:6: error: ‘s’ was not declared in this scope 42 | {s | ^
nr. | result | time | message |
---|