Pagini recente » Borderou de evaluare (job #1465909) | Borderou de evaluare (job #514190) | Borderou de evaluare (job #342768) | Borderou de evaluare (job #1620120) | Borderou de evaluare (job #2468800)
Borderou de evaluare (job #2468800)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:14:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; (1<<i) <= p; ++i) { //luam toti bitii lui p la rand
~~~~~~~^~~~
main.cpp:9:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("lgput.in", "r", stdin);
^
main.cpp:10:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("lgput.out", "w", stdout);
^
main.cpp:12:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | OK | 10 |
2 | 3ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 2ms | 131kb | OK | 10 |
5 | 2ms | 131kb | OK | 10 |
6 | 3ms | 131kb | OK | 10 |
7 | 2ms | 131kb | OK | 10 |
8 | 3ms | 131kb | OK | 10 |
9 | 3ms | 131kb | OK | 10 |
10 | 3ms | 131kb | OK | 10 |
Punctaj total | 100 |