Submission #122941
Source Code Expand
import java.util.Scanner; /** * Created by pabook on 13/12/12. */ public class Main { static int task; static int payday; public static void main(String[] args){ Scanner scan = new Scanner(System.in); task = scan.nextInt(); int i = 1; while(i == task){ payday = payday + ((10000 * i) * (1 / task)); i++; } System.out.println(payday); } }
Submission Info
Submission Time | |
---|---|
Task | A - AtCoder社の給料 |
User | pabook_32 |
Language | Java (OpenJDK 1.7.0) |
Score | 0 |
Code Size | 456 Byte |
Status | WA |
Exec Time | 472 ms |
Memory | 23224 KB |
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 0 / 100 | ||
Status |
|
Set Name | Test Cases |
---|---|
All | 00_sample_01.txt, 00_sample_02.txt, test_100.txt, test_14.txt, test_29.txt, test_4.txt, test_42.txt, test_48.txt, test_54.txt, test_59.txt, test_71.txt, test_72.txt, test_84.txt, test_96.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
00_sample_01.txt | WA | 472 ms | 23216 KB |
00_sample_02.txt | WA | 464 ms | 23208 KB |
test_100.txt | WA | 459 ms | 23084 KB |
test_14.txt | WA | 456 ms | 23088 KB |
test_29.txt | WA | 456 ms | 23088 KB |
test_4.txt | WA | 452 ms | 23076 KB |
test_42.txt | WA | 452 ms | 23212 KB |
test_48.txt | WA | 453 ms | 23076 KB |
test_54.txt | WA | 464 ms | 23224 KB |
test_59.txt | WA | 456 ms | 23084 KB |
test_71.txt | WA | 467 ms | 23216 KB |
test_72.txt | WA | 454 ms | 23212 KB |
test_84.txt | WA | 455 ms | 23088 KB |
test_96.txt | WA | 452 ms | 23216 KB |