Pagini recente » Borderou de evaluare (job #856775) | Borderou de evaluare (job #227549) | Borderou de evaluare (job #610901) | Borderou de evaluare (job #2128220) | Borderou de evaluare (job #1666785)
Borderou de evaluare (job #1666785)
Raport evaluator
Compilare:
user.cpp:34:0: warning: "maxN" redefined [enabled by default]
#define maxN 2016
^
user.cpp:17:0: note: this is the location of the previous definition
#define maxN 90111
^
user.cpp: In function ‘void add_solution(int, int, int)’:
user.cpp:180:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < act.size(); i++) {
^
user.cpp:249:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < act.size(); i++)
^
user.cpp:175:9: warning: unused variable ‘i’ [-Wunused-variable]
int i, j, target;
^
user.cpp:175:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, target;
^
user.cpp: In function ‘int main()’:
user.cpp:307:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 1; i + 2 < way.size(); i += 2)
^
user.cpp:258:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("santa.out","w",stdout);
^
user.cpp: In member function ‘void Buffer::refill()’:
user.cpp:70:43: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(&data[0], 1, dim, stdin);
^
user.cpp: In constructor ‘Buffer::Buffer(std::string, int)’:
user.cpp:39:46: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(name.c_str(), "r", stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 8440kb | OK! | 10 |
2 | 16ms | 8440kb | OK! | 10 |
3 | 56ms | 8696kb | OK! | 10 |
4 | 72ms | 8696kb | OK! | 10 |
5 | 4ms | 4572kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 4ms | 4560kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 4ms | 4556kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 4ms | 4560kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 8ms | 4556kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 12ms | 8440kb | OK! | 10 |
Punctaj total | 50 |