Borderou de evaluare (job #1324562)

Utilizator goalexboxerFMI Alexandru Ionascu goalexboxer Data 22 ianuarie 2015 15:50:47
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 ‘long long unsigned int*’ [-Wformat=] scanf("%d %d ", &n, &k); ^ user.cpp:34:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned 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 solve()’: user.cpp:46:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=1;i<=k;i++) ^ user.cpp:51:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(index < n) ^ 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
10ms284kbOK55
20ms284kbOK55
30ms336kbOK55
40ms388kbOK55
5108ms2628kbIncorect00
6112ms2628kbOK55
7192ms3020kbIncorect00
8176ms3024kbIncorect0
9176ms5780kbIncorect0
10192ms3540kbIncorect00
11188ms3804kbIncorect0
12184ms5228kbIncorect0
132432ms46420kbIncorect00
141424msDepăşitMemory limit exceeded.0
151668ms57988kbIncorect0
161776msDepăşitMemory limit exceeded.0
171792msDepăşitMemory limit exceeded.0
181780msDepăşitMemory limit exceeded.0
191560msDepăşitMemory limit exceeded.0
201580msDepăşitMemory limit exceeded.0
Punctaj total25

Ceva nu functioneaza?