Pagini recente » Borderou de evaluare (job #1886276) | Borderou de evaluare (job #2932626) | Borderou de evaluare (job #1641042) | Borderou de evaluare (job #2849781) | Borderou de evaluare (job #1515024)
Borderou de evaluare (job #1515024)
Raport evaluator
Compilare:
user.cpp: In function ‘void divideEtImpera(int, int, int, int)’:
user.cpp:43:13: warning: unused variable ‘inutil’ [-Wunused-variable]
int inutil = indiceLim (stq, stv, drv);
^
user.cpp: In function ‘int main()’:
user.cpp:71:48: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf ("%d\n", dist (v[ANS[i]], query));
^
user.cpp:55:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("puncte.in", "r", stdin);
^
user.cpp:56:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("puncte.out", "w", stdout);
^
user.cpp:58:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &N, &M);
^
user.cpp:60:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &v[i].x, &v[i].y);
^
user.cpp:63:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &q[i]);
^
user.cpp: In function ‘int indiceLim(int, int, int)’:
user.cpp:32:17: warning: ‘ans’ may be used uninitialized in this function [-Wmaybe-uninitialized]
ANS[Q] = ans;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | Incorect | 0 |
2 | 4ms | 376kb | Incorect | 0 |
3 | 16ms | 528kb | Incorect | 0 |
4 | 52ms | 928kb | Incorect | 0 |
5 | 172ms | 2164kb | Incorect | 0 |
6 | 12ms | 464kb | Incorect | 0 |
7 | 188ms | 2404kb | Incorect | 0 |
8 | 200ms | 2544kb | Incorect | 0 |
9 | 196ms | 2628kb | Incorect | 0 |
10 | 208ms | 2624kb | Incorect | 0 |
Punctaj total | 0 |