Pagini recente » Borderou de evaluare (job #435070) | Borderou de evaluare (job #1449649) | Borderou de evaluare (job #612559) | Borderou de evaluare (job #1474116) | Borderou de evaluare (job #2417095)
Borderou de evaluare (job #2417095)
Raport evaluator
Compilare:
main.cpp: In function 'll solve(int)':
main.cpp:36:30: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if (state & op[0][i] == state || state & op[0][i] == 0) continue;
~~~~~~~~~^~~~~~~~
main.cpp:36:59: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if (state & op[0][i] == state || state & op[0][i] == 0) continue;
~~~~~~~~~^~~~
main.cpp: In function 'int main()':
main.cpp:73:38: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll {aka long long int}' [-Wformat=]
printf("%d\n", solve(pows[n] - 1));
^
main.cpp:43: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);
^
main.cpp:44: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);
^
main.cpp:47:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &l);
^
main.cpp:50:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", sobo);
^
main.cpp:63:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cost[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Cool! | 10 |
2 | 2ms | 131kb | Cool! | 10 |
3 | 3ms | 131kb | Killed by Signal 11 | 0 |
4 | 11ms | 131kb | Killed by Signal 11 | 0 |
5 | 3ms | 262kb | Killed by Signal 11 | 0 |
6 | 6ms | 262kb | Killed by Signal 11 | 0 |
7 | 5ms | 262kb | Killed by Signal 11 | 0 |
8 | 7ms | 262kb | Killed by Signal 11 | 0 |
9 | 17ms | 393kb | Killed by Signal 11 | 0 |
10 | 11ms | 393kb | Killed by Signal 11 | 0 |
Punctaj total | 20 |