Borderou de evaluare (job #2287752)

Utilizator BlaugranasEnal Gemaledin Blaugranas Data 22 noiembrie 2018 14:25:39
Problema Sortare topologica Status done
Runda Arhiva educationala Compilator c-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.c: In function 'sortaret': main.c:45:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("%d ", nod); ^ main.c:35:13: warning: unused variable 'k' [-Wunused-variable] long i, j, k, nod; ^ main.c: In function 'main': main.c:65:11: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=] scanf("%d%d", &a, &b); ^ main.c:65:13: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long int *' [-Wformat=] scanf("%d%d", &a, &b); ^ main.c:59:2: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("sortaret.in", "r", stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:60:2: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("sortaret.out", "w", stdout); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:62:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld ", &n, &m); ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c:65:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &a, &b); ^~~~~~~~~~~~~~~~~~~~~ main.c:73:2: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("sortaret.in", "r", stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:75:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld ", &n, &m); ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c:77:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld ", &a, &b); ^~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
33ms131kbOK10
45ms131kbOK10
59ms262kbOK10
616ms393kbOK10
734ms786kbOK10
851ms917kbOK10
9104ms1835kbOK10
10168ms2359kbOK10
Punctaj total100

Ceva nu functioneaza?