Pagini recente » Borderou de evaluare (job #1818426) | Borderou de evaluare (job #2055759) | Borderou de evaluare (job #2864434) | Borderou de evaluare (job #855432) | Borderou de evaluare (job #1285919)
Borderou de evaluare (job #1285919)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&ni);
^
user.cpp:12:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:14:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&v[i]);
^
user.cpp:5:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("magicsequence.in","r",stdin);
^
user.cpp:6:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("magicsequence.out","w",stdout);
^
user.cpp:9:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&ni);
^
user.cpp:12:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:14:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 320kb | OK | 10 |
✗ | 2 | 0ms | 324kb | Incorect | 0 |
✗ | 3 | 4ms | 320kb | Incorect | 0 |
✗ | 4 | Depăşit | 316kb | Time limit exceeded. | 0 |
✗ | 5 | Depăşit | 320kb | Time limit exceeded. | 0 |
✗ | 6 | Depăşit | 320kb | Time limit exceeded. | 0 |
✗ | 7 | Depăşit | 320kb | Time limit exceeded. | 0 |
✓ | 8 | 36ms | 324kb | Incorect | 0 |
✗ | 9 | Depăşit | 320kb | Time limit exceeded. | 0 |
✗ | 10 | Depăşit | 312kb | Time limit exceeded. | 0 |
Punctaj total | 10 |