Borderou de evaluare (job #2305653)

Utilizator radu.leonardoThe Doctor radu.leonardo Data 20 decembrie 2018 19:20:20
Problema Numere 5 Status done
Runda Arhiva de probleme Compilator c-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:20:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%d %d\n", sumMinToMax / zeros - (zeros - 1) / 2, sumMinToMax / zeros - (zeros - 1) / 2 + zeros -1); ^ main.c:20:17: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] printf("%d %d\n", sumMinToMax / zeros - (zeros - 1) / 2, sumMinToMax / zeros - (zeros - 1) / 2 + zeros -1); ^ main.c:4:5: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("numere5.in", "r", stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:5:5: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("numere5.out", "w", stdout); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:9:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^~~~~~~~~~~~~~~ main.c:13:13: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
180ms131kbOK1050
22ms131kbOK10
393ms131kbOK10
453ms131kbOK10
5117ms131kbOK10
6191ms131kbOK1050
7262ms131kbOK10
8297ms131kbOK10
9254ms131kbOK10
10290ms131kbOK10
Punctaj total100

Ceva nu functioneaza?