Borderou de evaluare (job #1616419)

Utilizator SmarandaMaria Pandele Smaranda Data 27 februarie 2016 11:09:28
Problema Qxy Status done
Runda PreOJI 2016 Clasele 11-12 Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int bS(int, int)’: user.cpp:22:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i + step < Q [x].size () && Q [x][i + step] <= j) ^ user.cpp: In function ‘int main()’: user.cpp:59:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (k < Q [i].size () && Q [i][k] == 0) { ^ user.cpp:67:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (k < Q [i].size () && Q [i][k] == j) { ^ user.cpp:29:12: warning: unused variable ‘dim’ [-Wunused-variable] double dim; ^ user.cpp:31:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("qxy.in", "r", stdin); ^ user.cpp:32:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("qxy.out", "w", stdout); // !! ^ user.cpp:34:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &n); ^ user.cpp:36:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &v [i]); ^ user.cpp:38:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &q); ^ user.cpp:40:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d%d%d", &a, &b, &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1108ms2696kbOK5
2132ms3868kbOK5
3120ms2668kbOK5
444ms1504kbOK5
5116ms2940kbOK5
6116ms2824kbOK5
796ms2504kbOK5
860ms1876kbOK5
964ms2128kbOK5
10144ms2628kbOK5
1192ms2224kbOK5
12108ms2152kbOK5
13Depăşit5676kbTime limit exceeded.0
14Depăşit5648kbTime limit exceeded.0
15Depăşit5648kbTime limit exceeded.0
16Depăşit5780kbTime limit exceeded.0
17Depăşit5796kbTime limit exceeded.0
18Depăşit5648kbTime limit exceeded.0
19Depăşit5632kbTime limit exceeded.0
20Depăşit5640kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?