Pagini recente » Borderou de evaluare (job #1795779) | Borderou de evaluare (job #1608098) | Borderou de evaluare (job #1939508) | Borderou de evaluare (job #2219714) | Borderou de evaluare (job #1238022)
Borderou de evaluare (job #1238022)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:9:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=]
fscanf(fin,"%d",&n);
^
user.c:10:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=]
fscanf(fin,"%d",&a);
^
user.c:11:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=]
fscanf(fin,"%d",&b);
^
user.c:14:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=]
fscanf(fin,"%d",&x);
^
user.c:23:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(fout,"%d",nr);
^
user.c:9:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&n);
^
user.c:10:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&a);
^
user.c:11:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&b);
^
user.c:14:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 368kb | Incorect | 0 |
2 | 0ms | 368kb | Incorect | 0 |
3 | 0ms | 368kb | Incorect | 0 |
4 | 0ms | 368kb | Incorect | 0 |
5 | 0ms | 368kb | Incorect | 0 |
6 | 0ms | 364kb | Incorect | 0 |
7 | 4ms | 364kb | Incorect | 0 |
8 | 4ms | 372kb | Incorect | 0 |
9 | 12ms | 368kb | Incorect | 0 |
10 | 28ms | 368kb | Incorect | 0 |
Punctaj total | 0 |