Borderou de evaluare (job #2612609)

Utilizator MoodyFaresFares Mohamad MoodyFares Data 9 mai 2020 11:31:59
Problema Minmax Status done
Runda Concurs de incalzire 2020 Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:24:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%d\n", ans); ^ main.cpp:28:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%d\n", ans); ^ main.cpp:11:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("minmax.in", "r", stdin); ^ main.cpp:12:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("minmax.out", "w", stdout); ^ main.cpp:15:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:17:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i]); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK1010
22ms131kbOK1010
32ms131kbIncorect00
43ms131kbIncorect00
5124ms1572kbIncorect00
683ms1703kbIncorect0
7106ms1572kbIncorect0
8115ms1572kbIncorect0
9107ms1572kbIncorect0
10107ms1572kbIncorect0
Punctaj total20

Ceva nu functioneaza?