Borderou de evaluare (job #2644759)
Raport evaluator
Compilare:
main.cpp: In function 'void rid(long long int&, long long int, long long int)':
main.cpp:8:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (p < (1<<(curr_it + 1)))
^~
main.cpp:11:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
int tempn = n;
^~~
main.cpp: In function 'int main()':
main.cpp:27:33: 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:28:35: 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:31:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld", &n, &p);
^
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 |