Pagini recente » Cod sursa (job #369572) | Cod sursa (job #409073) | Cod sursa (job #2280701) | Cod sursa (job #844801) | Borderou de evaluare (job #2678011)
Borderou de evaluare (job #2678011)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:40:18: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=]
fscanf(fin,"%d%d",&p,&n);
^
main.c:46:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
fprintf(fout,"%d\n",p);
^
main.c:36:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&t);
^~~~~~~~~~~~~~~~~~~
main.c:40:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&p,&n);
^~~~~~~~~~~~~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Incorect | 0 |
| Punctaj total | 0 |