Pagini recente » Borderou de evaluare (job #2096728) | Borderou de evaluare (job #3255439) | Borderou de evaluare (job #3152043) | Borderou de evaluare (job #2234005) | Borderou de evaluare (job #1352928)
Borderou de evaluare (job #1352928)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:74:38: warning: suggest parentheses around comparison in operand of ‘^’ [-Wparentheses]
if ( val[x] ^ val[y] == 1 ) {
^
user.cpp:45:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(IN, "r", stdin);
^
user.cpp:46:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(OUT, "w", stdout);
^
user.cpp:48:31: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(Buf, 1, MaxB, stdin);
^
user.cpp: In function ‘int GetInt()’:
user.cpp:24:48: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(Buf, 1, MaxB, stdin), Ptr = 0;
^
user.cpp:28:48: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(Buf, 1, MaxB, stdin), Ptr = 0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 200ms | 1380kb | OK | 100 |
Punctaj total | 100 |