Pagini recente » Borderou de evaluare (job #2014718) | Borderou de evaluare (job #2010841) | Borderou de evaluare (job #207435) | Borderou de evaluare (job #2827895) | Borderou de evaluare (job #1736291)
Borderou de evaluare (job #1736291)
Raport evaluator
Compilare:
user.cpp: In function ‘void afish()’:
user.cpp:43:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("Costul minim = %d\n", minim);
^
user.cpp: In function ‘void citire()’:
user.cpp:17:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:20:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &d[i], &h[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:48:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("calatorie.in", "r", stdin);
^
user.cpp:49:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("calatorie.out", "w", stdout);
^
user.cpp:53:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &teste);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 536kb | Incorect | 0 |
Punctaj total | 0 |