Pagini recente » Borderou de evaluare (job #1326417) | Borderou de evaluare (job #1513959) | Borderou de evaluare (job #1931686) | Borderou de evaluare (job #2093064) | Borderou de evaluare (job #2108654)
Borderou de evaluare (job #2108654)
Raport evaluator
Compilare:
user.cpp: In function ‘int get_nr()’:
user.cpp:15:21: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while(buffer[i] < 48 | buffer[i] > 57)
^
user.cpp:19: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:47:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("triplete.in", "r", stdin);
^
user.cpp:48:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("triplete.out", "w", stdout);
^
user.cpp: In function ‘int get_nr()’:
user.cpp:17:67: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(++i == 1048576) fread(buffer, 1, 1048576, stdin), i = 0;
^
user.cpp:23:67: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(++i == 1048576) fread(buffer, 1, 1048576, stdin), i = 0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 468kb | OK | 10 |
2 | 0ms | 580kb | OK | 10 |
3 | 4ms | 668kb | OK | 10 |
4 | 4ms | 784kb | OK | 10 |
5 | 12ms | 1192kb | OK | 10 |
6 | 16ms | 1360kb | OK | 10 |
7 | 16ms | 1452kb | OK | 10 |
8 | 20ms | 1484kb | OK | 10 |
9 | 20ms | 1384kb | OK | 10 |
10 | 28ms | 1840kb | OK | 10 |
Punctaj total | 100 |