Borderou de evaluare (job #2965609)

Utilizator ecaterinaEcaterina Stefanescu ecaterina Data 15 ianuarie 2023 17:06:06
Problema Galeti2 Status done
Runda Concurs OJI 11 Compilator c-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.c: In function 'main': main.c:17:19: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 17 | fscanf(fin, "%d%d", &n, &e); | ~^ ~~ | | | | int * long long int * | %lld main.c:17:21: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'long long int *' [-Wformat=] 17 | fscanf(fin, "%d%d", &n, &e); | ~^ ~~ | | | | int * long long int * | %lld main.c:25:29: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 25 | fprintf(fout, "%d %d\n", i, 1); | ~^ ~ | | | | int long long int | %lld main.c:57:33: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 57 | fprintf(fout, "%d %d\n", j+1, j); | ~^ ~~~ | | | | int long long int | %lld main.c:57:36: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=] 57 | fprintf(fout, "%d %d\n", j+1, j); | ~^ ~ | | | | int long long int | %lld main.c:64:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 64 | fprintf(fout, "%d %d\n", j+1, j); | ~^ ~~~ | | | | int long long int | %lld main.c:64:40: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=] 64 | fprintf(fout, "%d %d\n", j+1, j); | ~^ ~ | | | | int long long int | %lld main.c:69:29: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 69 | fprintf(fout, "%d %d\n", n-1, n-2); | ~^ ~~~ | | | | int long long int | %lld main.c:69:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbCorect10
20ms184kbCorect5
30ms184kbCorect6
40ms184kbCorect7
50ms184kbSe sare peste o galeata plina0
60ms184kbCorect5
70ms184kbSe sare peste o galeata plina0
80ms184kbCorect4
90ms184kbSe sare peste o galeata plina0
100ms184kbCorect4
110ms184kbCorect4
120ms184kbCorect4
132ms970kbCorect5
147ms1495kbCorect5
1512ms2035kbCorect5
1611ms2019kbCorect5
1715ms2023kbCorect5
1814ms2035kbCorect6
1913ms1945kbNu s-a depus efortul cerut0
Punctaj total80

Ceva nu functioneaza?