Search found 1 match

by ta89011
Sat Dec 08, 2012 3:52 am
Forum: Volume 3 (300-399)
Topic: 300 - Maya Calendar
Replies: 69
Views: 16293

Re: Problem 300: Maya Calender

I had tried many times,but still WA.
My output are same with the AC output.
What's wrong with my code?
(C++)

#include <iostream>
#include <string.h>
using namespace std;
int main()
{
int yy=0,s=0;
char d[500]={0},numss[15]={0},ss[5]={0};
cin.getline(ss,5,'\n');
for(int i=0;ss !='\0';i++)s=s*10 ...

Go to advanced search