Borderou de evaluare (job #2575139)

Utilizator Bogdy_PPrunescu Bogdan Bogdy_P Data 6 martie 2020 11:50:05
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:33:18: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=] scanf("%d", n); ^ main.cpp:36:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=] scanf("%d", a[i]); ^ main.cpp:31:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("scmax.in", "r", stdin); ^ main.cpp:32:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("scmax.out", "w", stdout); ^ main.cpp:33:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", n); ^ main.cpp:36:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", a[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbKilled by Signal 1100
22ms131kbKilled by Signal 1100
32ms131kbKilled by Signal 1100
42ms131kbKilled by Signal 1100
53ms131kbKilled by Signal 1100
62ms131kbKilled by Signal 1100
72ms131kbKilled by Signal 1100
82ms131kbKilled by Signal 1100
92ms131kbKilled by Signal 110
102ms131kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?