Borderou de evaluare (job #3290456)

Utilizator amcbnCiobanu Andrei Mihai amcbn Data 30 martie 2025 19:17:22
Problema Algoritmul lui Euclid extins Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:24:24: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'int*' [-Wformat=] 24 | fscanf(fin, "%ld", &T); | ~~^ ~~ | | | | | int* | long int* | %d main.cpp:27:32: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=] 27 | fscanf(fin, "%ld %ld %ld", &a, &b, &c); | ~~^ ~~ | | | | long int* long long int* | %lld main.cpp:27:36: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'long long int*' [-Wformat=] 27 | fscanf(fin, "%ld %ld %ld", &a, &b, &c); | ~~^ ~~ | | | | long int* long long int* | %lld main.cpp:27:40: warning: format '%ld' expects argument of type 'long int*', but argument 5 has type 'long long int*' [-Wformat=] 27 | fscanf(fin, "%ld %ld %ld", &a, &b, &c); | ~~^ ~~ | | | | long int* long long int* | %lld main.cpp:30:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] 30 | fprintf(fout, "%ld %ld\n", 0, 0); | ~~^ ~ | | | | long int int | %d main.cpp:30:46: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int' [-Wformat=] 30 | fprintf(fout, "%ld %ld\n", 0, 0); | ~~^ ~ | | | | long int int | %d main.cpp:35:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'long long int' [-Wformat=] 35 | fprintf(fout, "%ld %ld\n", x, y); | ~~^ ~ | | | | long int long long int | %lld main.cpp:35:46: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'long long int' [-Wformat=] 35 | fprintf(fout, "%ld %ld\n", x, y); | ~~^ ~ | | | | long int long long int | %lld
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbRaspuns Corect1030
20ms303kbRaspuns Corect10
30ms303kbRaspuns Corect10
40ms303kbRaspuns Corect1010
50ms303kbRaspuns Corect1010
60ms303kbRaspuns Corect1010
70ms303kbRaspuns Corect1010
80ms303kbRaspuns Corect1010
90ms303kbRaspuns Corect1020
100ms303kbRaspuns Corect10
Punctaj total100

Ceva nu functioneaza?