Pagini recente » Borderou de evaluare (job #1695988) | Borderou de evaluare (job #1529231) | Borderou de evaluare (job #1263714) | Cod sursa (job #36133) | Borderou de evaluare (job #2132770)
Borderou de evaluare (job #2132770)
Raport evaluator
Compilare:
user.cpp: In function ‘void get_strips()’:
user.cpp:56:33: warning: capture of variable ‘pts’ with non-automatic storage duration
sort(begin(srt), end(srt), [pts](int a, int b) {
^
user.cpp:47:13: note: ‘std::vector<Ptx> pts’ declared here
vector<Ptx> pts;
^
user.cpp:66:43: warning: lambda capture initializers only available with -std=c++14 or -std=gnu++14
sort(begin(str[i]), end(str[i]), [x = pts[srt[i - 1]].x, px = pts[srt[i]].x](const Seg &a, const Seg &b) {
^
user.cpp:66:66: warning: lambda capture initializers only available with -std=c++14 or -std=gnu++14
sort(begin(str[i]), end(str[i]), [x = pts[srt[i - 1]].x, px = pts[srt[i]].x](const Seg &a, const Seg &b) {
^
user.cpp: In function ‘bool in(Ptx)’:
user.cpp:83:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (line + msk < str[strip].size() && str[strip][line + msk] < arg)
^
user.cpp:91:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (line + 1 < str[strip].size() && str[strip][line + 1] == arg)
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1396kb | Okay! | 10 |
| 2 | 0ms | 1404kb | Okay! | 10 |
| 3 | 0ms | 1424kb | Okay! | 10 |
| 4 | 8ms | 1504kb | Okay! | 10 |
| 5 | 16ms | 1688kb | Okay! | 10 |
| 6 | 180ms | 5848kb | Okay! | 10 |
| 7 | 56ms | 2496kb | Okay! | 10 |
| 8 | 84ms | 3028kb | Okay! | 10 |
| 9 | 124ms | 4068kb | Okay! | 10 |
| 10 | 160ms | 5888kb | Okay! | 10 |
| Punctaj total | 100 |