Pagini recente » Borderou de evaluare (job #1933851) | Borderou de evaluare (job #2287660) | Borderou de evaluare (job #1296190) | Borderou de evaluare (job #2138192) | Borderou de evaluare (job #2023391)
Borderou de evaluare (job #2023391)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:130:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<bcc.size(); ++i)
^
user.cpp: In function ‘void read(int&)’:
user.cpp:21:71: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(pos == buf_size) pos = 0, fread(buffer, 1, buf_size, stdin);
^
user.cpp:29:71: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(pos == buf_size) pos = 0, fread(buffer, 1, buf_size, stdin);
^
user.cpp: In function ‘int main()’:
user.cpp:97:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("santa.in", "r", stdin);
^
user.cpp:98:38: 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:100:47: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
pos = 0, fread(buffer, 1, buf_size, stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 924kb | OK! | 10 |
2 | 0ms | 936kb | OK! | 10 |
3 | 0ms | 968kb | OK! | 10 |
4 | 0ms | 992kb | OK! | 10 |
5 | 4ms | 1332kb | OK! | 10 |
6 | 16ms | 1720kb | OK! | 10 |
7 | 40ms | 2284kb | OK! | 10 |
8 | 44ms | 2548kb | OK! | 10 |
9 | 124ms | 4636kb | OK! | 10 |
10 | 0ms | 932kb | OK! | 10 |
Punctaj total | 100 |