Deutsch English Français Italiano |
<vrdfjc$3tpvh$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Richard Heathfield <rjh@cpax.org.uk> Newsgroups: comp.lang.c Subject: Re: Suggested method for returning a string from a C program? Date: Wed, 19 Mar 2025 04:01:48 +0000 Organization: Fix this later Lines: 43 Message-ID: <vrdfjc$3tpvh$1@dont-email.me> References: <vrd77d$3nvtf$2@dont-email.me> <868qp1ra5f.fsf@linuxsc.com> <vrde09$3sjne$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 19 Mar 2025 05:01:50 +0100 (CET) Injection-Info: dont-email.me; posting-host="18bb9c70b229fe74b0a5a3e7c7b007b1"; logging-data="4122609"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/XUXyiyx9x4KjF9wo/OjwEBUG9xxuQMaoV40xzt3lVyw==" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:gE9jaDW9+Gwih33uIIhGDRrfZAA= Content-Language: en-GB In-Reply-To: <vrde09$3sjne$1@dont-email.me> Bytes: 2411 On 19/03/2025 03:34, DFS wrote: <snip> > > But my main concern right now is getting my submission to work > with their auto-tester. All it says is 'runtime error' and > 'empty output'. > > Any ideas what I might be doing wrong? $ file post.txt post.txt: news, Unicode text, UTF-8 text That's not going to help. $ hexdump post.txt | cut -b 9-48 | grep " [89a-f][0-9a-f]" 5d5b 0a29 0a7b c320 2082 82c3 c320 2082 7261 7667 315b 295d 0a3b c320 2082 82c3 c320 2082 82c3 6920 746e 6c20 6e65 3d20 3020 0a3b c320 2082 82c3 c320 2082 82c3 3030 205d 203d 2222 0a3b c320 2082 82c3 c320 2082 82c3 7320 7270 6e69 6674 7228 0a3b 200a 82c3 c320 2082 82c3 c320 2082 6220 6572 6b61 0a3b c320 2082 82c3 c320 2082 82c3 7d20 0a0a c320 2082 82c3 c320 2082 82c3 6c20 6e65 3d20 7320 7274 656c 286e 6572 7573 746c 3b29 200a 82c3 c320 2082 82c3 c320 2082 7073 6972 746e 2866 2220 3b29 200a 82c3 c320 2082 82c3 c320 6572 7573 746c 3b29 0a0a c320 2082 82c3 c320 2082 82c3 7220 7465 7275 206e 3b30 ASCII is a 7-bit code. You have a fair bit of 8-bit noise mixed in. That will probably have to go. -- Richard Heathfield Email: rjh at cpax dot org dot uk "Usenet is a strange place" - dmr 29 July 1999 Sig line 4 vacant - apply within