Pagini recente » Borderou de evaluare (job #344001) | Borderou de evaluare (job #2840882) | Borderou de evaluare (job #1806567) | Borderou de evaluare (job #3271873) | Borderou de evaluare (job #1285307)
Borderou de evaluare (job #1285307)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:16: warning: unused variable ‘j’ [-Wunused-variable]
int n, p, i, j, cn, cp, rez = 1, nrf = 0;
^
user.cpp:22:19: warning: unused variable ‘cn’ [-Wunused-variable]
int n, p, i, j, cn, cp, rez = 1, nrf = 0;
^
user.cpp:20:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perioada01.in", "r", stdin);
^
user.cpp:21:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perioada01.out", "w", stdout);
^
user.cpp:23:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &p);
^
user.cpp:25:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &poz[i]);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✗ | 1 | 0ms | 256kb | OK | 10 | 20 |
✓ | 2 | 0ms | 248kb | OK | 10 |
✗ | 3 | 0ms | 236kb | OK | 10 | 20 |
✗ | 4 | 0ms | 244kb | OK | 10 |
✓ | 5 | 24ms | 572kb | OK | 10 | 20 |
✗ | 6 | 24ms | 560kb | OK | 10 |
✗ | 7 | 268ms | 3064kb | OK | 10 | 40 |
✓ | 8 | 200ms | 3056kb | OK | 10 |
✗ | 9 | 204ms | 3064kb | OK | 10 |
✗ | 10 | 200ms | 3052kb | OK | 10 |
Punctaj total | 100 |