Pagini recente » Borderou de evaluare (job #1483251) | Borderou de evaluare (job #2364014) | Borderou de evaluare (job #2893584) | Borderou de evaluare (job #2669293) | Borderou de evaluare (job #2109158)
Borderou de evaluare (job #2109158)
Raport evaluator
Compilare:
user.cpp: In function ‘int get_nr()’:
user.cpp:55:21: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while(buffer[i] < 48 | buffer[i] > 57)
^
user.cpp:59: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:71: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:72: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:57: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:63: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 | 24ms | 16000kb | OK | 10 | 10 |
2 | 24ms | 16004kb | OK | 10 | 10 |
3 | 24ms | 16000kb | OK | 10 | 10 |
4 | 40ms | 17536kb | OK | 10 | 30 |
5 | 48ms | 17564kb | OK | 10 |
6 | 44ms | 19168kb | OK | 10 |
7 | 100ms | 19620kb | OK | 10 | 10 |
8 | 216ms | 24296kb | OK | 10 | 0 |
9 | 376ms | 28196kb | Incorect | 0 |
10 | 224ms | 22616kb | Incorect | 0 |
Punctaj total | 70 |