Submission #154792
Source Code Expand
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String args[]) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String Num = br.readLine(); int N = Integer.parseInt(Num); if(Num.indexOf("3") != -1 || N%3 == 0){ System.out.println("Yes"); } else { System.out.println("No"); } } }
Submission Info
Submission Time | |
---|---|
Task | A - 世界のFizzBuzz |
User | junminya |
Language | Java (OpenJDK 1.7.0) |
Score | 0 |
Code Size | 427 Byte |
Status | WA |
Exec Time | 404 ms |
Memory | 20660 KB |
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 0 / 100 | ||
Status |
|
Set Name | Test Cases |
---|---|
All | test_1.txt, test_2.txt, test_3.txt, test_4.txt, test_5.txt, test_6.txt, test_7.txt, test_8.txt, test_9.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
sample_01.txt | WA | 404 ms | 20660 KB |
sample_02.txt | WA | 390 ms | 20656 KB |
sample_03.txt | WA | 392 ms | 20628 KB |
test_1.txt | WA | 389 ms | 20648 KB |
test_2.txt | WA | 397 ms | 20652 KB |
test_3.txt | WA | 402 ms | 20660 KB |
test_4.txt | WA | 388 ms | 20628 KB |
test_5.txt | WA | 392 ms | 20648 KB |
test_6.txt | WA | 398 ms | 20656 KB |
test_7.txt | WA | 389 ms | 20652 KB |
test_8.txt | WA | 395 ms | 20652 KB |
test_9.txt | WA | 393 ms | 20652 KB |