Borderou de evaluare (job #2193713)

Utilizator PredaBossPreda Andrei PredaBoss Data 11 aprilie 2018 09:49:11
Problema Principiul includerii si excluderii Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int bkk(int, int)’: user.cpp:19:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=1;i<=a;i++) ~^~~ user.cpp:21:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(nr*divizors[op]*i>a) ~~~~~~~~~~~~~~~~~^~ user.cpp:23:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if(nr%i==0 && i>1) ^~ user.cpp:25:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ cout<<b<<"\n"; ^~~~ user.cpp:28:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
112ms1956kbIncorect00
216ms1956kbIncorect00
312ms1964kbIncorect00
4Depăşit1964kbTime limit exceeded.00
5Depăşit1964kbTime limit exceeded.00
6Depăşit1964kbTime limit exceeded.00
7Depăşit1964kbTime limit exceeded.00
8Depăşit1964kbTime limit exceeded.00
9Depăşit1964kbTime limit exceeded.0
10Depăşit1960kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?