Pagini recente » Borderou de evaluare (job #996052) | Borderou de evaluare (job #1262777) | Borderou de evaluare (job #3120234) | Borderou de evaluare (job #808722) | Borderou de evaluare (job #1652204)
Borderou de evaluare (job #1652204)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7: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:8: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:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
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:13:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&p);
^
user.cpp:14:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(j=2;j<=n;j++) scanf("%d",&u);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 256kb | Incorect | 0 |
3 | 0ms | 260kb | OK | 10 |
4 | 16ms | 260kb | OK | 10 |
5 | 24ms | 260kb | OK | 10 |
6 | 48ms | 256kb | OK | 10 |
7 | 64ms | 260kb | OK | 10 |
8 | 4ms | 252kb | OK | 10 |
9 | 64ms | 256kb | OK | 10 |
10 | 136ms | 256kb | OK | 10 |
Punctaj total | 90 |