Borderou de evaluare (job #3378159)
| Utilizator | Data | 25 noiembrie 2026 13:25:04 | |
|---|---|---|---|
| Problema | Suma5 | Status | done |
| Runda | Arhiva Monthly | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:75:26: error: conversion from 'std::pair<long long int, long long int>' to non-scalar type 'nod' requested
75 | nod ans = qry(1, 1, n, x, y);
| ~~~^~~~~~~~~~~~~~~
main.cpp:76:23: error: 'struct nod' has no member named 'second'
76 | cout<<ans.second - 1LL * (x - 1) * ans.first<<'\n';
| ^~~~~~
main.cpp:76:52: error: 'struct nod' has no member named 'first'
76 | cout<<ans.second - 1LL * (x - 1) * ans.first<<'\n';
| ^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
