Pagini recente » Borderou de evaluare (job #1426849) | Borderou de evaluare (job #1159512) | Borderou de evaluare (job #1038450) | Cod sursa (job #1443555) | Borderou de evaluare (job #2058251)
Borderou de evaluare (job #2058251)
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(f,"%d",&a);
^
user.c:10:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=]
fscanf(f,"%d",&b);
^
user.c:20:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
else fprintf(g,"%d",b);
^
user.c:9:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&a);
^
user.c:10:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 248kb | OKAY! | 10 |
| 2 | 0ms | 256kb | OKAY! | 10 |
| 3 | 0ms | 256kb | OKAY! | 10 |
| 4 | 0ms | 244kb | OKAY! | 10 |
| 5 | 0ms | 260kb | OKAY! | 10 |
| 6 | 0ms | 244kb | OKAY! | 10 |
| 7 | 0ms | 260kb | OKAY! | 10 |
| 8 | 0ms | 252kb | OKAY! | 10 |
| 9 | 0ms | 248kb | OKAY! | 10 |
| 10 | 0ms | 252kb | OKAY! | 10 |
| Punctaj total | 100 |