Pagini recente » Borderou de evaluare (job #1737614) | Borderou de evaluare (job #2199960) | Borderou de evaluare (job #1356084) | Borderou de evaluare (job #2846615) | Borderou de evaluare (job #2099633)
Borderou de evaluare (job #2099633)
Raport evaluator
Compilare:
user.cpp: In function ‘int read(int&)’:
user.cpp:15:21: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while(buffer[p] < 48 | buffer[p] > 57)
^
user.cpp:19:21: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while(buffer[p] > 47 & buffer[p] < 58)
^
user.cpp:25:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:30:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("exp.in", "r", stdin);
^
user.cpp:31:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("exp.out", "w", stdout);
^
user.cpp: In function ‘int read(int&)’:
user.cpp:17:61: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(++p == 8192) fread(buffer, 1, 8192, stdin), p = 0;
^
user.cpp:23:61: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(++p == 8192) fread(buffer, 1, 8192, stdin), p = 0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 244kb | OK | 10 |
2 | 8ms | 244kb | OK | 10 |
3 | 0ms | 240kb | OK | 10 |
4 | 0ms | 236kb | OK | 10 |
5 | 0ms | 244kb | OK | 10 |
6 | 0ms | 248kb | OK | 10 |
7 | 0ms | 244kb | OK | 10 |
8 | 0ms | 244kb | OK | 10 |
9 | 0ms | 248kb | OK | 10 |
10 | 0ms | 240kb | OK | 10 |
Punctaj total | 100 |