Borderou de evaluare (job #2984700)

Utilizator tudorcaluTudor Calu tudorcalu Data 24 februarie 2023 18:11:34
Problema Cabana Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:34:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 34 | for (i = 0; (1<<i) <= p; ++ i) // Luam toti biti lui p la rand | ~~~~~~~^~~~ main.cpp:36:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 36 | if ( ((1<<i) & p) > 0) // Daca bitul i din p este 1 atunci adaugam n^(2^i) la solutie | ^~ main.cpp:39:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 39 | a=(a * a) % m; // Inmultim a cu a ca sa obtinem n^(2^(i+1)) | ^ main.cpp:46:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 46 | for (i = 0; (1<<i) <= p; ++ i) // Luam toti biti lui p la rand | ~~~~~~~^~~~ main.cpp:48:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 48 | if ( ((1<<i) & p) > 0) // Daca bitul i din p este 1 atunci adaugam n^(2^i) la solutie | ^~ main.cpp:51:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 51 | a=(a * a) % m; // Inmultim a cu a ca sa obtinem n^(2^(i+1)) | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1352ms172kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?