Pagini recente » Borderou de evaluare (job #2544966) | Borderou de evaluare (job #608837) | Borderou de evaluare (job #1836358) | Borderou de evaluare (job #1060938) | Borderou de evaluare (job #1831666)
Borderou de evaluare (job #1831666)
Raport evaluator
Compilare:
user.cpp: In function ‘void Compute(int)’:
user.cpp:43:26: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
if( ( mask & 1<<j-1 ) )
^
user.cpp:44:37: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
if( v[j][i] ) a |= (1<<j-1);
^
user.cpp:45:28: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
else b |= (1<<j-1);
^
user.cpp:43:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if( ( mask & 1<<j-1 ) )
^
user.cpp: In function ‘void Read()’:
user.cpp:19:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&N,&L);
^
user.cpp:22:28: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s,NMax,stdin);
^
user.cpp:25:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i = 1; i <= L; ++i) scanf("%d",&cost[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:69:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sobo.in","r",stdin);
^
user.cpp:70:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sobo.out","w",stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 304kb | Cool! | 10 |
| 2 | 0ms | 304kb | Cool! | 10 |
| 3 | 0ms | 312kb | Cool! | 10 |
| 4 | 68ms | 348kb | Cool! | 10 |
| 5 | 0ms | 372kb | Cool! | 10 |
| 6 | 8ms | 400kb | Cool! | 10 |
| 7 | 8ms | 436kb | Cool! | 10 |
| 8 | 12ms | 456kb | Cool! | 10 |
| 9 | 48ms | 528kb | Cool! | 10 |
| 10 | 16ms | 492kb | Cool! | 10 |
| Punctaj total | 100 |