http://acm.hdu.edu.cn/showproblem.php?pid=3951
#include <bits / stdc ++ h.> en utilisant l' espace de noms std; int t, n, k; int main () { // freopen ( "in", "r", stdin); ios :: sync_with_stdio ( 0 ); cin >> t; pour ( int i = 1 ; i <= t; i ++ ) { Cout << " Case " << i << " : " ; cin >> >> n k; si (k == 1 ) { si (n & ) Cout << " premier " << endl; autre Cout << " seconde " << endl; } Autre { si (n <= k) Cout << " premier " << endl; autre Cout << " seconde " << endl; } } Retour 0 ; }