#1923
egale
Afişaţi, în ordine crescătoare, toate numerele dintr-un anumit interval care au toate cifrele egale.
Pregătire clasa a IX-a, C.N. "Frații Buzești" - Craiova
Problema | egale | Operații I/O |
egale.in /egale.out
|
---|---|---|---|
Limita timp | 0.2 secunde | Limita memorie |
Total: 8 MB
/
Stivă 8 MB
|
Id soluție | #34872794 | Utilizator | |
Fișier | egale.c | Dimensiune | 2.67 KB |
Data încărcării | 16 Februarie 2022, 18:13 | Scor / rezultat | 0 puncte |
egale.c: In function 'cerinta1': egale.c:32:3: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'uint64_t *' [-Wformat=] fscanf ( f, "%ld %ld", &a, &b ) ; ^ egale.c:32:3: warning: format '%ld' expects argument of type 'long int *', but argument 4 has type 'uint64_t *' [-Wformat=] egale.c:65:7: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'uint64_t' [-Wformat=] fprintf ( g, "%ld ", i ) ; ^ egale.c:72:2: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'uint64_t' [-Wformat=] fprintf ( g, "%ld", i ) ; ^ egale.c:81:5: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'uint64_t' [-Wformat=] fprintf ( g, "%ld ", i ) ; ^ egale.c: In function 'cerinta2': egale.c:99:3: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'uint64_t *' [-Wformat=] fscanf ( f, "%ld", &x ) ; ^ egale.c:118:2: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'uint64_t' [-Wformat=] fprintf ( g, "%ld", i ) ; ^ egale.c: In function 'nr_cerinta': egale.c:23:10: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf ( f, "%hhd", &ans ) ; ^ egale.c: In function 'cerinta1': egale.c:32:10: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf ( f, "%ld %ld", &a, &b ) ; ^ egale.c: In function 'cerinta2': egale.c:99:10: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf ( f, "%ld", &x ) ; ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
0 | 0 secunde | Raspuns gresit. | 5 | 0 | ||
1 | 0 secunde | Raspuns gresit. | 5 | 0 | ||
2 | 0 secunde | Raspuns gresit. | 5 | 0 | ||
3 | 0 secunde | Raspuns gresit. | 5 | 0 | ||
4 | 0 secunde | Raspuns gresit. | 5 | 0 | ||
5 | 0 secunde | Raspuns gresit. | 5 | 0 | ||
6 | 0 secunde | Raspuns gresit. | 5 | 0 | ||
7 | 0 secunde | Raspuns gresit. | 5 | 0 | ||
8 | 0 secunde | Raspuns gresit. | 5 | 0 | ||
9 | 0 secunde | Raspuns gresit. | 5 | 0 | ||
10 | Depășit | Limita de timp depășită | 5 | 0 | ||
11 | Depășit | Limita de timp depășită | 5 | 0 | ||
12 | Depășit | Limita de timp depășită | 5 | 0 | ||
13 | Depășit | Limita de timp depășită | 5 | 0 | ||
14 | Depășit | Limita de timp depășită | 5 | 0 | ||
15 | Depășit | Limita de timp depășită | 5 | 0 | ||
16 | Depășit | Limita de timp depășită | 5 | 0 | ||
17 | Depășit | Limita de timp depășită | 5 | 0 | ||
18 | Depășit | Limita de timp depășită | 5 | 0 | ||
19 | Depășit | Limita de timp depășită | 5 | 0 | ||
Punctaj total | 0 |
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema egale face parte din prima categorie. Soluția propusă de tine va fi evaluată astfel:
Suma punctajelor acordate pe testele utilizate pentru verificare este 100. Astfel, soluția ta poate obține cel mult 100 de puncte, caz în care se poate considera corectă.