Submission #615762
Source Code Expand
import java.util.*; import java.io.*; import java.awt.geom.*; import java.math.*; public class Main { static final Scanner in = new Scanner(System.in); static final PrintWriter out = new PrintWriter(System.out,false); static void solve() { int n = in.nextInt(); int ans = 0; for (int i=25; i<=n; i++) { if (i%25 == 0) ans++; } out.println(ans); } public static void main(String[] args) { long start = System.currentTimeMillis(); solve(); out.flush(); long end = System.currentTimeMillis(); //trace(end-start + "ms"); in.close(); out.close(); } static void trace(Object... o) { System.out.println(Arrays.deepToString(o));} }
Submission Info
Submission Time | |
---|---|
Task | A - ニコニコ数 |
User | t8m8 |
Language | Java8 (OpenJDK 1.8.0) |
Score | 0 |
Code Size | 696 Byte |
Status | TLE |
Exec Time | 2566 ms |
Memory | 29256 KB |
Judge Result
Set Name | Sample | Subtask1 | ||||||
---|---|---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 60 | ||||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | sample_01.txt, sample_02.txt |
Subtask1 | sample_01.txt, sample_02.txt, test_01.txt, test_02.txt, test_03.txt, test_04.txt, test_05.txt, test_06.txt, test_07.txt, test_08.txt, test_09.txt, test_10.txt, test_11.txt, test_12.txt, test_13.txt, test_14.txt, test_15.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
sample_01.txt | AC | 541 ms | 29256 KB |
sample_02.txt | AC | 455 ms | 29056 KB |
test_01.txt | AC | 393 ms | 29024 KB |
test_02.txt | AC | 392 ms | 29012 KB |
test_03.txt | AC | 400 ms | 29108 KB |
test_04.txt | AC | 407 ms | 29148 KB |
test_05.txt | AC | 407 ms | 29072 KB |
test_06.txt | AC | 482 ms | 29100 KB |
test_07.txt | AC | 418 ms | 29040 KB |
test_08.txt | TLE | 2565 ms | 29208 KB |
test_09.txt | TLE | 2566 ms | 29136 KB |
test_10.txt | AC | 2029 ms | 29000 KB |
test_11.txt | TLE | 2565 ms | 29192 KB |
test_12.txt | AC | 1292 ms | 29120 KB |
test_13.txt | AC | 475 ms | 29104 KB |
test_14.txt | AC | 400 ms | 29000 KB |
test_15.txt | AC | 424 ms | 29212 KB |