![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C
文章平均质量分 78
Pinaceae
请用法语写代码。
展开
-
Contest4:Problem B: Mirror Expression
Problem B: Mirror ExpressionTime Limit: 1 Sec Memory Limit: 128 MBSubmit: 217 Solved: 95[Submit][Status][Web Board]DescriptionA mirrored experssion is a string for which when each of t原创 2017-10-21 23:49:35 · 343 阅读 · 0 评论 -
Contest 8A The Maze runner
Problem A: The Maze runnerTime Limit: 1 Sec Memory Limit: 128 MBSubmit: 468 Solved: 256[Submit][Status][Web Board]DescriptionGiven a maze, find a shortest path from start to exit.原创 2018-01-01 13:20:56 · 328 阅读 · 0 评论 -
Contest 7B Remove Nth Node From End of List
Problem B: Remove Nth Node From End of ListTime Limit: 1 Sec Memory Limit: 128 MBSubmit: 221 Solved: 68[Submit][Status][Web Board]DescriptionGiven a linked list, remove the nth nod原创 2018-01-01 13:18:16 · 225 阅读 · 0 评论 -
Contest 7 Big vs Big (2)
Problem A: Big vs Big (2)Time Limit: 3 Sec Memory Limit: 128 MBSubmit: 332 Solved: 183[Submit][Status][Web Board]DescriptionCalculate the addtion of any two positive big integers.原创 2018-01-01 13:14:58 · 238 阅读 · 0 评论 -
Contest6 The K-th largest number
Problem B: The K-th largest numberTime Limit: 2 Sec Memory Limit: 40 MBSubmit: 856 Solved: 233[Submit][Status][Web Board]DescriptionGiven N integer numbers, find the K-th largest n原创 2017-12-04 20:40:00 · 367 阅读 · 0 评论 -
contest6:A dilemma of HR
Problem A: A dilemma of HRTime Limit: 1 Sec Memory Limit: 15 MBSubmit: 260 Solved: 65[Submit][Status][Web Board]DescriptionThe manager of Human Resource(HR) is now facing a dilemma原创 2017-12-04 20:35:52 · 234 阅读 · 0 评论 -
Contest5.StringReverse
DescriptionYou will be given a number of test cases. The first line contains the number of cases as a positive integer. Each case is given with a line containing a list of words separated by a spa原创 2017-11-13 12:45:37 · 320 阅读 · 0 评论 -
Contest 3:Problem A: Number and its reverse
此题注意c中无reverse函数,用模的方法进行reverse操作。计算反转数时忘注意回文数,导致了最开始想减小计算域,结果从1开始也不会超时。C'est tout.DescriptionGive you a number M (9999Output the number of total numbers such that the sum of this number and原创 2017-10-16 20:56:12 · 364 阅读 · 0 评论 -
Contest 2: Find all factors
DescriptionOutput the number of total factors of an integer.InputThere are several lines. And each line contains a positive number N (1OutputOutput the number of tota原创 2017-10-16 15:49:22 · 297 阅读 · 0 评论 -
Contest 2:Temperature Conversion
DescriptionFahrenheit(F) and Centigrade(C) are used as unit of measuring the temperature. The conversion between them is: F = 32 + C*1.8; C = (F - 32)/1.8We need you write a C program to conve原创 2017-10-16 15:45:29 · 340 阅读 · 0 评论 -
Warm up:C input and output
谨以此练习来学习最基础的C语言输入和输出。#include //头文件,标准输入输出#include int main(){ int ch; while(scanf("%s",&ch)!=EOF){ printf("%s\n",ch);};return(0);原创 2017-10-16 15:37:24 · 241 阅读 · 0 评论 -
Contest4:A+B problem
#include #include int main(){ int n,i; long long int s; scanf("%d",&n); long long int x[2*n]; for(i=0;i<n;i++){ scanf("\n%lld %lld",&x[2*i],&x[2*i+1]);} for(i=0;i<n;i++原创 2017-10-21 21:54:51 · 806 阅读 · 0 评论 -
Contest 8B Rail Station
Problem B: Rail stationTime Limit: 1 Sec Memory Limit: 128 MBSubmit: 479 Solved: 243[Submit][Status][Web Board]DescriptionThere is a famous railway station in PopPush City. Country t原创 2018-01-03 18:10:06 · 255 阅读 · 0 评论