Pagini recente » Borderou de evaluare (job #133284) | Borderou de evaluare (job #964193) | Borderou de evaluare (job #1549990) | Borderou de evaluare (job #2427149) | Borderou de evaluare (job #1549925)
Borderou de evaluare (job #1549925)
Raport evaluator
Compilare:
user.c:5:6: warning: return type of ‘main’ is not ‘int’ [-Wmain]
void main()
^
user.c: In function ‘main’:
user.c:10:2: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=]
fscanf(f, "%d%d", &a, &b);
^
user.c:10:2: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long int *’ [-Wformat=]
user.c:19:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(g, "%d\n", rez);
^
user.c:10:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d", &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 244kb | OKAY! | 10 |
2 | 0ms | 244kb | OKAY! | 10 |
3 | 0ms | 248kb | OKAY! | 10 |
4 | 0ms | 244kb | OKAY! | 10 |
5 | 0ms | 248kb | OKAY! | 10 |
6 | 0ms | 240kb | OKAY! | 10 |
7 | 0ms | 244kb | OKAY! | 10 |
8 | 0ms | 244kb | OKAY! | 10 |
9 | 0ms | 248kb | OKAY! | 10 |
10 | 0ms | 240kb | OKAY! | 10 |
Punctaj total | 100 |