HAJIME - Kill evil instantly

This problem tests your knowledge of the C programming language. Your task is to submit a snippet of C code that consists of two declarations defining a type called "zan", which should be a struct containing two members: first an unsigned int called "aku", then a constant pointer to char called "soku".

To make things more interesting, you can't use any whitespace in either declaration, and the two declarations must be sufficiently dissimilar (basically, you have to use two different tricks to get around the lack of whitespace).

Input

There is no input.

Output

Your submission should consist of exactly two declarations as described above, separated by whitespace.

Update: "Exactly two" means exactly two. Your code isn't allowed to define any other types; anything containing struct foo or typedef unsigned int is rejected.

"Whitespace" includes newlines. NUL ('\0') is not whitespace, but it isn't a valid token separator either.

Example

Output:
typedef:struct{unsigned*aku;char*soku;}zan;
typedef:struct{unsigned*aku;char*soku;}zan;

This example is invalid for the following reasons:

  • typedef: is a syntax error
  • aku and soku have the wrong type
  • the two declarations are too similar


Added by:Lukas Mai
Date:2005-10-17
Time limit:0.100s
Source limit:512B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:TEXT

hide comments
2015-03-10 04:20:00 Piotr KÄ…kol
If someone is willing to rewrite the Haskell judge from this problem to C++ in order to fix this problem feel free to email me.
2014-12-26 23:54:52 Mitch Schwartz
Cluster change (Pyramid to Cube) apparently broke the judge, causing internal errors. Admins notified.
2014-12-20 11:57:38 Ayushi Srivastava
i am getting internal error :(
2014-05-07 10:57:39 Saurabh Singh
can i use like #define @sp '\t' for getting the blank space ?
2014-03-27 23:20:57 Rakib Ansary Saikot


Last edit: 2014-03-27 23:21:09
2012-11-12 06:57:29 Gaurav Dhage
http://gcc.gnu.org/onlinedocs/cpp/Tokenization.html#Tokenization
Why can't I use '^@' ?
2009-12-26 10:28:15 Tony Beta Lambda
char *const
or
const char *
?
Update: char *const was expected. It means a pointer to char that can't point anywhere else, but the thing pointed to can change. (as discussed in forum)

Last edit: 2010-04-18 02:26:55
2009-12-07 07:59:04 Smithers
Can someone please confirm the type we are meant to be defining, i.e. am I correct in thinking that the line should have the same effect as

typedef struct {
unsigned int aku;
char * const soku;
} zan;
2009-08-03 14:16:30 Drew Saltarelli
why is the time limit 20 seconds? Shouldn't text programs run in O(1) time, since no operations are used?
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.