Search found 1 match

by forgotten
Thu May 04, 2006 11:02 am
Forum: Volume 110 (11000-11099)
Topic: 11015 - 05-2 Rendezvous
Replies: 48
Views: 17203

11015 - 05-2 Rendezvous

when my program used while (scanf("%d%d", &n, &m) == 2 && n && m) {...} to read the data, i got WA but when i use while (scanf("%d%d", &n, &m), n) {...} or while (scanf("%d%d", &n, &m) == 2 && n) {...} i've got AC !! could M equal ZERO ?? notice 1 ? M ? (N^2-N)/2 !! could anyone give me an explanati...

Go to advanced search