Pagini recente » Borderou de evaluare (job #2824383) | Borderou de evaluare (job #2598581) | Borderou de evaluare (job #2758496) | Borderou de evaluare (job #782838) | Borderou de evaluare (job #2560934)
Borderou de evaluare (job #2560934)
Raport evaluator
Compilare:
main.cpp: In function 'int main(int, const char**)':
main.cpp:67:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; (1<<i) <= n; ++ i) // Luam toti biti lui p la rand
~~~~~~~^~~~
main.cpp:47:24: warning: unused variable 'p' [-Wunused-variable]
unsigned int i, n, p;
^
main.cpp:48:15: warning: unused variable 'a' [-Wunused-variable]
long long a, sol = 1;
^
main.cpp:48:18: warning: unused variable 'sol' [-Wunused-variable]
long long a, sol = 1;
^~~
main.cpp:45:51: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("aiafarapalindroame.in","r",stdin);
^
main.cpp:46:53: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("aiafarapalindroame.out","w",stdout);
^
main.cpp:49:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 2ms | 131kb | OK | 10 |
5 | 2ms | 131kb | OK | 10 |
6 | 2ms | 131kb | OK | 10 |
7 | 2ms | 131kb | OK | 10 |
8 | 2ms | 131kb | OK | 10 |
9 | 2ms | 131kb | OK | 10 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 100 |