QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#308434#7734. Intersection over Unionucup-team254Compile Error//C++142.3kb2024-01-20 04:02:082024-01-20 04:02:08

Details

answer.code:18:18: warning: use of ‘auto’ in parameter declaration only available with ‘-std=c++20’ or ‘-fconcepts’
   18 | auto &operator<<(auto &o, pair<auto, auto> p) {
      |                  ^~~~
answer.code:18:32: warning: use of ‘auto’ in parameter declaration only available with ‘-std=c++20’ or ‘-fconcepts’
   18 | auto &operator<<(auto &o, pair<auto, auto> p) {
      |                                ^~~~
answer.code:18:38: warning: use of ‘auto’ in parameter declaration only available with ‘-std=c++20’ or ‘-fconcepts’
   18 | auto &operator<<(auto &o, pair<auto, auto> p) {
      |                                      ^~~~
answer.code:21:17: warning: use of ‘auto’ in parameter declaration only available with ‘-std=c++20’ or ‘-fconcepts’
   21 | auto operator<<(auto &o, auto x)->decltype(end(x), o) {
      |                 ^~~~
answer.code:21:26: warning: use of ‘auto’ in parameter declaration only available with ‘-std=c++20’ or ‘-fconcepts’
   21 | auto operator<<(auto &o, auto x)->decltype(end(x), o) {
      |                          ^~~~
answer.code: In function ‘ld licz(ld, ld)’:
answer.code:42:62: error: expected ‘)’ before ‘;’ token
   42 |         ld S=(kwa((B-x)*wsp2-y/wsp2)+(kwa((C-x)/wsp2-y*wsp2));
      |              ~                                               ^
      |                                                              )