Job 17128

Owner
Lazar Laurentiu
Problem
nMultiple
Source
0.69KB
Result
Wrong answer

Compiler output

prog.c: In function 'main':
prog.c:8:3: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long long int *' [-Wformat=]
   scanf("%d", &n);
   ^
prog.c:10:5: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long long int *' [-Wformat=]
     scanf("%d", &numbers[it]);
     ^
prog.c:26:7: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
       printf("%d\n", it + 1 - reminders[reminder]);
       ^

Results

Test numberResultTime
1OK0.2546s
2OK0.2559s
3Wrong answer0.6599s
Questions?

Sponsors Gold