Pagini recente » Borderou de evaluare (job #2499033) | Borderou de evaluare (job #1284580) | Borderou de evaluare (job #252910) | Borderou de evaluare (job #2077099) | Borderou de evaluare (job #2108640)
Borderou de evaluare (job #2108640)
Raport evaluator
Compilare:
user.cpp: In function ‘int get_nr()’:
user.cpp:31:13: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
for(; c < 48 | c > 57; c = GetChar());
^
user.cpp:33:13: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
for(; c > 47 & c < 58; nr = nr * 10 + c - 48, c = GetChar());
^
user.cpp: In function ‘int main()’:
user.cpp:59: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:60: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 ‘char GetChar()’:
user.cpp:19:41: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff, 1, kBuffSize, stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 468kb | OK | 10 |
2 | 4ms | 580kb | OK | 10 |
3 | 4ms | 668kb | OK | 10 |
4 | 4ms | 784kb | OK | 10 |
5 | 12ms | 1192kb | OK | 10 |
6 | 16ms | 1364kb | OK | 10 |
7 | 16ms | 1452kb | OK | 10 |
8 | 20ms | 1484kb | OK | 10 |
9 | 20ms | 1388kb | OK | 10 |
10 | 28ms | 1840kb | OK | 10 |
Punctaj total | 100 |