Borderou de evaluare (job #1324570)

Utilizator goalexboxerFMI Alexandru Ionascu goalexboxer Data 22 ianuarie 2015 15:53:45
Problema Deque Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 25

Raport evaluator

Compilare: user.cpp: In function ‘int read()’: user.cpp:34:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int64_t* {aka long long int*}’ [-Wformat=] scanf("%d %d ", &n, &k); ^ user.cpp:34:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘int64_t* {aka long long int*}’ [-Wformat=] user.cpp:38:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int64_t* {aka long long int*}’ [-Wformat=] scanf("%d", &arr[i]); ^ user.cpp: In function ‘int write()’: user.cpp:84:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int64_t {aka long long int}’ [-Wformat=] printf("%d", sum); ^ user.cpp: In function ‘int read()’: user.cpp:32:27: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(FIN,"r",stdin); ^ user.cpp:33:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(FOUT,"w",stdout); ^ user.cpp:34:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d ", &n, &k); ^ user.cpp:38:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &arr[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms288kbOK55
20ms284kbOK55
30ms336kbOK55
40ms388kbOK55
5104ms2628kbIncorect00
6108ms2628kbOK55
7200ms3020kbIncorect00
8180ms3020kbIncorect0
9180ms5780kbIncorect0
10200ms3544kbIncorect00
11188ms3804kbIncorect0
12188ms5228kbIncorect0
132436ms46420kbIncorect00
141448msDepăşitMemory limit exceeded.0
151652ms57988kbIncorect0
161764msDepăşitMemory limit exceeded.0
171760msDepăşitMemory limit exceeded.0
181804msDepăşitMemory limit exceeded.0
191628msDepăşitMemory limit exceeded.0
201644msDepăşitMemory limit exceeded.0
Punctaj total25

Ceva nu functioneaza?