Pagini recente » Borderou de evaluare (job #1255031) | Borderou de evaluare (job #1475928) | Borderou de evaluare (job #684592) | Borderou de evaluare (job #2568915) | Borderou de evaluare (job #949034)
Borderou de evaluare (job #949034)
Raport evaluator
Compilare:
user.c: In function ‘read’:
user.c:17:2: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long unsigned int *’ [-Wformat=]
fscanf(f, "%d", &p);
^
user.c: In function ‘write’:
user.c:24:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
fprintf(f, "%d", n);
^
user.c: At top level:
user.c:63:15: warning: return type of ‘main’ is not ‘int’ [-Wmain]
unsigned long main()
^
user.c: In function ‘main’:
user.c:67:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
printf("p = %8d, n = %8d\t", p, n);
^
user.c:67:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 244kb | Corect! | 5 |
2 | 0ms | 240kb | Corect! | 5 |
3 | 0ms | 244kb | Corect! | 5 |
4 | 0ms | 244kb | Corect! | 5 |
5 | 0ms | 240kb | Raspuns incorect | 0 |
6 | 0ms | 240kb | Raspuns incorect | 0 |
7 | 0ms | 244kb | Corect! | 5 |
8 | 0ms | 240kb | Corect! | 5 |
9 | 0ms | 244kb | Raspuns incorect | 0 |
10 | 0ms | 240kb | Raspuns incorect | 0 |
11 | 0ms | 244kb | Corect! | 5 |
12 | 0ms | 240kb | Raspuns incorect | 0 |
13 | 0ms | 244kb | Raspuns incorect | 0 |
14 | 0ms | 244kb | Raspuns incorect | 0 |
15 | 0ms | 244kb | Corect! | 5 |
16 | 0ms | 240kb | Corect! | 5 |
17 | 0ms | 240kb | Corect! | 5 |
18 | 0ms | 240kb | Corect! | 5 |
19 | 0ms | 240kb | Corect! | 5 |
20 | 0ms | 240kb | Raspuns incorect | 0 |
Punctaj total | 60 |