Home STD Contest Notification Clarification Problems Ranklist Status Print Sign Out

View Compilation Error

1_728_5821_29681.cpp: In function 'void sol2(std::string)':
1_728_5821_29681.cpp:61:41: error: conversion from 'void' to non-scalar type 'std::string {aka std::basic_string<char>}' requested
  string as2=reverse(as.begin(), as.end());
                                         ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-24 18:30:54, Gzip enabled