Pagini recente » Borderou de evaluare (job #360954) | Borderou de evaluare (job #2062081) | Borderou de evaluare (job #2452970) | Borderou de evaluare (job #1049842) | Borderou de evaluare (job #1459676)
Borderou de evaluare (job #1459676)
Raport evaluator
Compilare:
user.cpp: In function ‘void Try(int, int)’:
user.cpp:20:9: warning: unused variable ‘wh’ [-Wunused-variable]
int wh = v[l+dim-1];
^
user.cpp: In function ‘int main()’:
user.cpp:29:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("permutare2.in","r",stdin);
^
user.cpp:30:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("permutare2.out","w",stdout);
^
user.cpp:32:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:33:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++) scanf("%d",&vraja); v[1] = 0;
^
user.cpp:34:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=2;i<=m;i++) scanf("%lld",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 468kb | OK | 10 |
2 | 0ms | 464kb | OK | 10 |
3 | 0ms | 540kb | OK | 10 |
4 | 0ms | 920kb | OK | 10 |
5 | 8ms | 1368kb | OK | 10 |
6 | 60ms | 8900kb | OK | 10 |
7 | 64ms | 8900kb | OK | 10 |
8 | 72ms | 8904kb | OK | 10 |
9 | 84ms | 9820kb | OK | 10 |
10 | 88ms | 9808kb | OK | 10 |
Punctaj total | 100 |