Pagini recente » Borderou de evaluare (job #4398) | Borderou de evaluare (job #1341527) | Borderou de evaluare (job #772026) | Borderou de evaluare (job #431802) | Borderou de evaluare (job #1186369)
Borderou de evaluare (job #1186369)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:9:5: warning: format ‘%ld’ expects argument of type ‘long int *’, but argument 3 has type ‘long long int *’ [-Wformat=]
fscanf(f,"%ld",&t);
^
user.c:12:9: warning: format ‘%ld’ expects argument of type ‘long int *’, but argument 3 has type ‘long long int *’ [-Wformat=]
fscanf(f,"%ld",&n);
^
user.c:14:9: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%ld\n",s);
^
user.c:9:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld",&t);
^
user.c:12:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld",&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | Incorect | 0 |
Punctaj total | 0 |