Borderou de evaluare (job #1844788)

Utilizator silkMarin Dragos silk Data 10 ianuarie 2017 14:33:56
Problema Bile3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:49: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] for(x = 0, i = 1; i <= K; ++i) x = x | (1<<i-1); ^ user.cpp:26:20: warning: suggest parentheses around ‘-’ inside ‘>>’ [-Wparentheses] if( ( (x>>i-1) & 1 ) ) ^ user.cpp:28:24: warning: suggest parentheses around ‘-’ inside ‘>>’ [-Wparentheses] if( ( (x>>j-1) & 1 ) == 0 ) ^ user.cpp:31:30: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] y = y ^ (1<<j-1); ^ user.cpp:32:30: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] y = y ^ (1<<i-1); ^ user.cpp:8:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bile3.in","r",stdin); ^ user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bile3.out","w",stdout); ^ user.cpp:13:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&N,&K); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms240kbIncomplete output file0
20ms244kbIncomplete output file0
30ms240kbIncomplete output file0
40ms240kbIncomplete output file0
50ms236kbIncomplete output file0
60ms240kbIncomplete output file0
70ms240kbIncomplete output file0
80ms240kbIncomplete output file0
90ms240kbIncomplete output file0
100ms244kbIncomplete output file0
Punctaj total0

Ceva nu functioneaza?