Pagini recente » Borderou de evaluare (job #2841082) | Borderou de evaluare (job #1915341) | Borderou de evaluare (job #884178) | Borderou de evaluare (job #691660) | Borderou de evaluare (job #2109136)
Borderou de evaluare (job #2109136)
Raport evaluator
Compilare:
user.cpp: In function ‘int get_nr()’:
user.cpp:58:21: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while(buffer[i] < 48 | buffer[i] > 57)
^
user.cpp:62: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:74: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:75: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:60: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:66: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 | 500kb | OK | 10 | 10 |
2 | 0ms | 500kb | OK | 10 | 10 |
3 | 0ms | 500kb | OK | 10 | 10 |
4 | 8ms | 1728kb | OK | 10 | 30 |
5 | 16ms | 2068kb | OK | 10 |
6 | 20ms | 3668kb | OK | 10 |
7 | 108ms | 4016kb | OK | 10 | 10 |
8 | 1076ms | 8692kb | OK | 10 | 0 |
9 | 104ms | 4348kb | Incorect | 0 |
10 | 92ms | 3916kb | Incorect | 0 |
Punctaj total | 70 |