Pagini recente » Borderou de evaluare (job #2620027) | Borderou de evaluare (job #1573794) | Borderou de evaluare (job #1478619) | Borderou de evaluare (job #398557) | Borderou de evaluare (job #2023127)
Borderou de evaluare (job #2023127)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:36: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%lld ", &bit_cost[i]);
^
user.cpp:38:25: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if (i & (i - 1) == 0) continue;
^
user.cpp:14:35: 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:15:37: 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);
^
user.cpp:17:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &m);
^
user.cpp:21:26: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(gen_map + 1);
^
user.cpp:29:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld ", &bit_cost[i]);
^
/tmp/ccYY61Lc.o: In function `main':
user.cpp:(.text.startup+0x90): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 456kb | Cool! | 10 |
2 | 0ms | 456kb | Urat.. urat de tot: raspuns gresit | 0 |
3 | 0ms | 460kb | Urat.. urat de tot: raspuns gresit | 0 |
4 | 12ms | 464kb | Urat.. urat de tot: raspuns gresit | 0 |
5 | 16ms | 488kb | Urat.. urat de tot: raspuns gresit | 0 |
6 | 60ms | 520kb | Cool! | 10 |
7 | 116ms | 588kb | Urat.. urat de tot: raspuns gresit | 0 |
8 | 184ms | 584kb | Urat.. urat de tot: raspuns gresit | 0 |
9 | 352ms | 708kb | Cool! | 10 |
10 | 352ms | 708kb | Urat.. urat de tot: raspuns gresit | 0 |
Punctaj total | 30 |