Pagini recente » Borderou de evaluare (job #389770) | Borderou de evaluare (job #2359571) | Borderou de evaluare (job #2116945) | Borderou de evaluare (job #553091) | Borderou de evaluare (job #1881827)
Borderou de evaluare (job #1881827)
Raport evaluator
Compilare:
user.cpp: In function ‘void readInt(int&)’:
user.cpp:15:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
c = buff[pos++];
^
user.cpp:21:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
c = buff[pos++];
^
user.cpp: In function ‘int main()’:
user.cpp:28:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elmaj.in", "r", stdin);
^
user.cpp:29:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elmaj.out", "w", stdout);
^
user.cpp: In function ‘void readInt(int&)’:
user.cpp:14:48: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(pos == 8) { fread(buff, 1, 8, stdin); pos = 0; }
^
user.cpp:20:48: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(pos == 8) { fread(buff, 1, 8, stdin); pos = 0; }
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 224kb | Incorect | 0 |
2 | 336ms | 220kb | Incorect | 0 |
3 | Depăşit | 212kb | Time limit exceeded. | 0 |
4 | 0ms | 244kb | OK | 10 |
5 | Depăşit | 208kb | Time limit exceeded. | 0 |
6 | Depăşit | 212kb | Time limit exceeded. | 0 |
7 | Depăşit | 212kb | Time limit exceeded. | 0 |
8 | 76ms | 244kb | OK | 10 |
9 | 84ms | 224kb | Incorect | 0 |
10 | 84ms | 240kb | Incorect | 0 |
Punctaj total | 20 |