Borderou de evaluare (job #2504246)

Utilizator bogdi1bogdan bancuta bogdi1 Data 4 decembrie 2019 18:32:15
Problema NumberOfPaths Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:22:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((n>>i)%2==1) ^~ main.cpp:25:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' k+=2; ^ main.cpp:6:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] { freopen("nop.in", "r", stdin); ^ main.cpp:7:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("nop.out", "w", stdout); ^ main.cpp:9:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ main.cpp:11:24: 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
1157ms1048kbOk!10
2142ms917kbOk!10
3169ms987kbOk!10
4195ms983kbOk!10
5165ms987kbOk!10
6169ms978kbOk!10
7161ms917kbOk!10
8174ms983kbOk!10
9162ms978kbOk!10
10152ms917kbOk!10
Punctaj total100

Ceva nu functioneaza?