Pagini recente » Borderou de evaluare (job #2443418) | Borderou de evaluare (job #1337514) | Borderou de evaluare (job #2593350) | Borderou de evaluare (job #2250307) | Borderou de evaluare (job #1287899)
Borderou de evaluare (job #1287899)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10: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:11: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:13:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&t);
^
user.cpp:15:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld",&n,&a);
^
user.cpp:16:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=2;i<=n-1;i++) scanf("%ld",&b);
^
user.cpp:21:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 420kb | OK | 10 |
2 | 0ms | 416kb | OK | 10 |
3 | 0ms | 416kb | OK | 10 |
4 | 16ms | 420kb | OK | 10 |
5 | 24ms | 424kb | OK | 10 |
6 | 44ms | 420kb | OK | 10 |
7 | 60ms | 420kb | OK | 10 |
8 | 4ms | 420kb | OK | 10 |
9 | 64ms | 416kb | OK | 10 |
10 | 124ms | 420kb | OK | 10 |
Punctaj total | 100 |