-> This code below was receiving WA:
Code: Select all
printf("%d seconds\n", (int)ceil(bytes/(sum/5.0)));
Code: Select all
printf("%d seconds\n", (int)ceil((bytes * 5.0)/sum));
Hope you guys passed after this!
Moderator: Board moderators
Code: Select all
printf("%d seconds\n", (int)ceil(bytes/(sum/5.0)));
Code: Select all
printf("%d seconds\n", (int)ceil((bytes * 5.0)/sum));