Borderou de evaluare (job #1853194)

Utilizator DenisONIcBanu Denis Andrei DenisONIc Data 21 ianuarie 2017 15:03:16
Problema Pviz Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:22:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld",&n,&m); ^ user.cpp:22:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:24:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&v[i]); ^ user.cpp:21:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pviz.in","r",stdin); ^ user.cpp:22:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld%ld",&n,&m); ^ user.cpp:24:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms448kbOK5
20ms440kbOK5
30ms444kbOK5
40ms424kbOK5
50ms460kbOK5
60ms540kbOK5
70ms548kbOK5
84ms656kbOK5
932ms920kbOK5
10Depăşit1064kbTime limit exceeded.0
11Depăşit556kbTime limit exceeded.0
124ms452kbOK5
13Depăşit644kbTime limit exceeded.0
14Depăşit648kbTime limit exceeded.0
15Depăşit816kbTime limit exceeded.0
16Depăşit1040kbTime limit exceeded.0
17Depăşit808kbTime limit exceeded.0
18Depăşit772kbTime limit exceeded.0
19Depăşit1164kbTime limit exceeded.0
20Depăşit1164kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?