Pagini recente » Borderou de evaluare (job #1621945) | Borderou de evaluare (job #2342858) | Borderou de evaluare (job #1793087) | Borderou de evaluare (job #74915) | Borderou de evaluare (job #1763010)
Borderou de evaluare (job #1763010)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:20: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld", &n);
^
user.cpp:14:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld ", &v[i]);
^
user.cpp:8:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teamwork.in", "r", stdin);
^
user.cpp:9:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teamwork.out", "w", stdout);
^
user.cpp:12:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &n);
^
user.cpp:14:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld ", &v[i]);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 0ms | 292kb | Incorect | 0 | 0 |
✗ | 2 | 0ms | 296kb | Incorect | 0 | 0 |
✗ | 3 | 68ms | 4184kb | Incorect | 0 | 0 |
✗ | 4 | 64ms | 4180kb | Incorect | 0 |
✓ | 5 | 68ms | 4184kb | Incorect | 0 | 0 |
✗ | 6 | 68ms | 4184kb | Incorect | 0 | 0 |
✗ | 7 | 336ms | 19804kb | Incorect | 0 | 0 |
✓ | 8 | 332ms | 19796kb | Incorect | 0 | 0 |
✗ | 9 | 328ms | 19800kb | Incorect | 0 | 0 |
✗ | 10 | 344ms | 19796kb | Incorect | 0 | 0 |
Punctaj total | 0 |