Face The Right Way Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 2899 Accepted: 1338 Description Farmer John has arranged his N (1 ≤ N ≤ 5,000) cows in a row and many of them are facing forward, like good cows. Some of them are facin…
题目 public class Test { public static void main(final String[] args) { final int a = 10; final int b = 20; System.out.println(a + '+' + b + '=' + (a + b)); } } 乍一看,可能有的同学会觉得很简单,直接给出如下答案: 10+20=30 其实这是道陷进题,很容易就看混了,正确的答案是: 164 分析 为什么答案会是164? 这是因为这里并不是字符…