Pagini recente » Borderou de evaluare (job #2864967) | Borderou de evaluare (job #2093735) | Borderou de evaluare (job #2732274) | Borderou de evaluare (job #1894786) | Borderou de evaluare (job #2116903)
Borderou de evaluare (job #2116903)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
for(int i = 1; i <= n; i++) fscanf(fi,"%d%d", &v[i].x, &v[i].y);
^
user.cpp:16:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:18:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
for(int i = 1; i <= m; i++) fscanf(fi,"%d%d", &w[i].x, &w[i].y);
^
user.cpp:18:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:15:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d", &n);
^
user.cpp:16:68: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= n; i++) fscanf(fi,"%d%d", &v[i].x, &v[i].y);
^
user.cpp:17:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d", &m);
^
user.cpp:18:68: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= m; i++) fscanf(fi,"%d%d", &w[i].x, &w[i].y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 28ms | 23928kb | Incorect | 0 |
| 2 | 28ms | 23924kb | OK | 5 |
| 3 | 28ms | 23928kb | Incorect | 0 |
| 4 | 28ms | 23936kb | Incorect | 0 |
| 5 | 28ms | 23932kb | OK | 5 |
| 6 | 28ms | 23932kb | OK | 5 |
| 7 | 28ms | 23928kb | OK | 5 |
| 8 | 28ms | 23932kb | OK | 5 |
| 9 | 40ms | 23936kb | OK | 5 |
| 10 | 44ms | 23932kb | OK | 5 |
| 11 | 32ms | 23932kb | OK | 5 |
| 12 | 40ms | 23940kb | OK | 5 |
| 13 | 40ms | 23940kb | OK | 5 |
| 14 | 40ms | 23948kb | OK | 5 |
| 15 | 48ms | 23948kb | Incorect | 0 |
| 16 | 32ms | 23944kb | Incorect | 0 |
| 17 | 40ms | 23940kb | OK | 5 |
| 18 | 88ms | 23944kb | OK | 5 |
| 19 | 72ms | 23948kb | OK | 5 |
| 20 | 136ms | 23948kb | OK | 5 |
| Punctaj total | 75 |