Pagini recente » Borderou de evaluare (job #1078875) | Borderou de evaluare (job #442626) | Borderou de evaluare (job #1855107) | Borderou de evaluare (job #811911) | Borderou de evaluare (job #2109138)
Borderou de evaluare (job #2109138)
Raport evaluator
Compilare:
user.cpp: In function ‘int get_nr()’:
user.cpp:57:21: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while(buffer[i] < 48 | buffer[i] > 57)
^
user.cpp:61:21: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while(buffer[i] > 47 & buffer[i] < 58)
^
user.cpp: In function ‘int main()’:
user.cpp:73:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hashuri.in", "r", stdin);
^
user.cpp:74:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hashuri.out", "w", stdout);
^
user.cpp: In function ‘int get_nr()’:
user.cpp:59:69: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(++i == buffSize) fread(buffer, 1, buffSize, stdin), i = 0;
^
user.cpp:65:69: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(++i == buffSize) fread(buffer, 1, buffSize, stdin), i = 0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 564kb | OK | 10 | 10 |
2 | 0ms | 568kb | OK | 10 | 10 |
3 | 0ms | 564kb | OK | 10 | 10 |
4 | 12ms | 1892kb | OK | 10 | 30 |
5 | 16ms | 2036kb | OK | 10 |
6 | 20ms | 2980kb | OK | 10 |
7 | 48ms | 4600kb | OK | 10 | 10 |
8 | 84ms | 8676kb | OK | 10 | 30 |
9 | 176ms | 15832kb | OK | 10 |
10 | 176ms | 14960kb | OK | 10 |
Punctaj total | 100 |