Pagini recente » Borderou de evaluare (job #2404303) | Borderou de evaluare (job #1562724) | Borderou de evaluare (job #2891417) | Borderou de evaluare (job #2047518) | Borderou de evaluare (job #1629364)
Borderou de evaluare (job #1629364)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:15: warning: unused variable ‘j’ [-Wunused-variable]
int m, i, j=0, x, val;
^
user.cpp:25: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:26: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:28: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:30:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d", &p[i].k ), p[i].l=1;
^
user.cpp:35:19: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
val=p[x].k*p[x].l;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 256kb | Incorect | 0 |
| 2 | 0ms | 256kb | OK | 10 |
| 3 | 0ms | 260kb | Incorect | 0 |
| 4 | 0ms | 264kb | OK | 10 |
| 5 | 4ms | 260kb | OK | 10 |
| 6 | 4ms | 260kb | OK | 10 |
| 7 | 4ms | 260kb | OK | 10 |
| 8 | 4ms | 264kb | OK | 10 |
| 9 | 4ms | 264kb | OK | 10 |
| 10 | 8ms | 260kb | OK | 10 |
| Punctaj total | 80 |