Pagini recente » Borderou de evaluare (job #1584475) | Borderou de evaluare (job #2263457) | Borderou de evaluare (job #1855052) | Borderou de evaluare (job #2462789) | Borderou de evaluare (job #1629362)
Borderou de evaluare (job #1629362)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:32: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf( "%lld", &p[i].k ), p[i].l=1;
^
user.cpp:27:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "numar2.in", "r", stdin );
^
user.cpp:28:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "numar2.out", "w", stdout );
^
user.cpp:30:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d%d", &n, &m );
^
user.cpp:32:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%lld", &p[i].k ), p[i].l=1;
^
user.cpp:37:22: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
v[++j]=p[x].k*p[x].l;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | Incorect | 0 |
| 2 | 0ms | 280kb | OK | 10 |
| 3 | 0ms | 280kb | Incorect | 0 |
| 4 | 0ms | 308kb | OK | 10 |
| 5 | 4ms | 348kb | OK | 10 |
| 6 | 8ms | 388kb | OK | 10 |
| 7 | 8ms | 380kb | OK | 10 |
| 8 | 8ms | 384kb | OK | 10 |
| 9 | 8ms | 380kb | OK | 10 |
| 10 | 8ms | 388kb | OK | 10 |
| Punctaj total | 80 |