HELP<\/a><\/p>\nRemarks:
\n1. You have not to submit your main(). you have to submit just the header files and the class part.<\/p>\n
example:
\n[code]
\n#include<stdio.h>
\n#include<string.h>
\n#include<math.h>
\n#include<iostream>
\n#include<map>
\n#include<vector>
\n#include<stack>
\n#include<queue>
\n#include<cstring>
\nusing namespace std;<\/p>\n
class ToastXRaspberry{<\/p>\n
public:
\n int apply(int upper_limit, int layer_count){<\/p>\n
if(upper_limit>=layer_count)
\n return 1;<\/p>\n
int x=layer_count\/upper_limit;<\/p>\n
if(layer_count%upper_limit>0)
\n x+=1;<\/p>\n
return (x);
\n }
\n};<\/p>\n
[\/code]
\n Class name and method name will be given in the problem description.<\/p>\n","protected":false},"excerpt":{"rendered":"
To start contest you must Register to open an account in topcoder. Then you have to download ContestAppletProd.jnlp to take part in the contests. To download this go to this page and click on “Launch Arena” on the leftside. After completing download you are ready to start participating on contests. You have to register for … <\/p>\n
Continue reading “Starting TOPCODER”<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0},"categories":[8],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.ujjal.net\/index.php?rest_route=\/wp\/v2\/posts\/80"}],"collection":[{"href":"https:\/\/blog.ujjal.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ujjal.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ujjal.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ujjal.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=80"}],"version-history":[{"count":0,"href":"https:\/\/blog.ujjal.net\/index.php?rest_route=\/wp\/v2\/posts\/80\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.ujjal.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=80"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ujjal.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=80"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ujjal.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=80"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}