Pagini recente » Borderou de evaluare (job #2394794) | Borderou de evaluare (job #18908) | Borderou de evaluare (job #2400640) | Borderou de evaluare (job #2879263)
Borderou de evaluare (job #2879263)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:68:21: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'int (*)[5]' [-Wformat=]
68 | fscanf(fin, "%d%d%d%d%d", &qv[0], &qv[1], &qv[2], &qv[3], &qv[4]);
| ~^ ~~~~~~
| | |
| int * int (*)[5]
main.c:68:23: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'int (*)[5]' [-Wformat=]
68 | fscanf(fin, "%d%d%d%d%d", &qv[0], &qv[1], &qv[2], &qv[3], &qv[4]);
| ~^ ~~~~~~
| | |
| int * int (*)[5]
main.c:68:25: warning: format '%d' expects argument of type 'int *', but argument 5 has type 'int (*)[5]' [-Wformat=]
68 | fscanf(fin, "%d%d%d%d%d", &qv[0], &qv[1], &qv[2], &qv[3], &qv[4]);
| ~^ ~~~~~~
| | |
| int * int (*)[5]
main.c:68:27: warning: format '%d' expects argument of type 'int *', but argument 6 has type 'int (*)[5]' [-Wformat=]
68 | fscanf(fin, "%d%d%d%d%d", &qv[0], &qv[1], &qv[2], &qv[3], &qv[4]);
| ~^ ~~~~~~
| | |
| int * int (*)[5]
main.c:68:29: warning: format '%d' expects argument of type 'int *', but argument 7 has type 'int (*)[5]' [-Wformat=]
68 | fscanf(fin, "%d%d%d%d%d", &qv[0], &qv[1], &qv[2], &qv[3], &qv[4]);
| ~^ ~~~~~~
| | |
| int * int (*)[5]
main.c:63:5: warning: 'mj2' may be used uninitialized in this function [-Wmaybe-uninitialized]
63 | fprintf(fout, "%d %d %d %d\n", mi1, mj1, mi2, mj2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:63:5: warning: 'mj1' may be used uninitialized in this function [-Wmaybe-uninitialized]
main.c:63:5: warning: 'mi2' may be used uninitialized in this function [-Wmaybe-uninitialized]
main.c:63:5: warning: 'mi1' may be used uninitialized in this function [-Wmaybe-uninitialized]
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 1ms | 184kb | OK | 5 |
| 2 | 2ms | 184kb | OK | 5 |
| 3 | 26ms | 2277kb | OK | 5 |
| 4 | 113ms | 4452kb | OK | 5 |
| 5 | 274ms | 4718kb | OK | 5 |
| 6 | 307ms | 4722kb | OK | 5 |
| 7 | 1ms | 188kb | Incorect | 0 |
| 8 | 6ms | 6467kb | Incorect | 0 |
| 9 | 5ms | 2273kb | Incorect | 0 |
| 10 | 11ms | 4456kb | Incorect | 0 |
| 11 | 35ms | 6541kb | Incorect | 0 |
| 12 | 34ms | 4448kb | Incorect | 0 |
| 13 | 279ms | 8908kb | Incorect | 0 |
| 14 | 239ms | 8769kb | Incorect | 0 |
| 15 | 300ms | 8904kb | Incorect | 0 |
| 16 | 311ms | 9031kb | Incorect | 0 |
| 17 | 397ms | 9039kb | Incorect | 0 |
| 18 | 550ms | 8900kb | Incorect | 0 |
| 19 | 448ms | 9035kb | Incorect | 0 |
| 20 | 722ms | 9031kb | Incorect | 0 |
| Punctaj total | 30 |