Pagini recente » Borderou de evaluare (job #186117) | Borderou de evaluare (job #2589239) | Borderou de evaluare (job #203871) | Borderou de evaluare (job #2097641) | Borderou de evaluare (job #2723338)
Borderou de evaluare (job #2723338)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:124:42: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::size_t {aka long unsigned int}' [-Wformat=]
printf("%d\n", dep[i].count() - 1);
^
main.cpp:87:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("colonii.out","w",stdout);
^
main.cpp: In constructor 'Buffer::Buffer(std::__cxx11::string, int)':
main.cpp:23: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);
^
main.cpp: In member function 'void Buffer::refill()':
main.cpp:54: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);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 5ms | 1703kb | OK | 10 | 100 |
2 | 7ms | 1835kb | OK | 10 |
3 | 8ms | 1835kb | OK | 10 |
4 | 8ms | 1966kb | OK | 10 |
5 | 9ms | 2097kb | OK | 10 |
6 | 9ms | 2097kb | OK | 10 |
7 | 10ms | 2228kb | OK | 10 |
8 | 11ms | 2359kb | OK | 10 |
9 | 19ms | 3276kb | OK | 10 |
10 | 604ms | 15335kb | OK | 10 |
Punctaj total | 100 |