Borderou de evaluare (job #1719630)

Utilizator oldatlantianSerban Cercelescu oldatlantian Data 19 iunie 2016 21:28:00
Problema Drept Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int solve(int, int)’: user.cpp:31:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(dq.size()>k) ^ user.cpp:33:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(dq.size()==k) ^ user.cpp: In function ‘int main()’: user.cpp:61:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<vs.size(); ++i) ^ user.cpp:62:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=i; j<vs.size(); ++j) ^ user.cpp:44:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("drept.in", "r", stdin); ^ user.cpp:45:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("drept.out", "w", stdout); ^ user.cpp:50:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&k); ^ user.cpp:52:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms436kbOK5
20ms428kbOK5
30ms440kbOK5
40ms436kbOK5
54ms432kbOK5
68ms432kbOK5
752ms440kbOK5
8156ms452kbOK5
9476ms448kbOK5
10624ms452kbOK5
11708ms448kbOK5
12396ms456kbOK5
13Depăşit428kbTime limit exceeded.0
14Depăşit436kbTime limit exceeded.0
15Depăşit440kbTime limit exceeded.0
16Depăşit436kbTime limit exceeded.0
17Depăşit440kbTime limit exceeded.0
18Depăşit436kbTime limit exceeded.0
19Depăşit444kbTime limit exceeded.0
20Depăşit444kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?