Pagini recente » Borderou de evaluare (job #1488216) | Borderou de evaluare (job #678676) | Borderou de evaluare (job #315961) | Borderou de evaluare (job #1080576) | Borderou de evaluare (job #1345003)
Borderou de evaluare (job #1345003)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("stramosi.in","r",stdin);
^
user.cpp:9:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("stramosi.out","w",stdout);
^
user.cpp:11:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:12:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++){scanf("%d",&a[i]);v[i]=v[a[i]]+1;}
^
user.cpp:14:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int j=1;j<=m;j++) {scanf("%d%d",&c,&d);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 440kb | OK! | 10 |
2 | 0ms | 448kb | OK! | 10 |
3 | 4ms | 448kb | OK! | 10 |
4 | 60ms | 520kb | OK! | 10 |
5 | 100ms | 520kb | OK! | 10 |
6 | Depăşit | 684kb | Time limit exceeded. | 0 |
7 | 92ms | 948kb | OK! | 10 |
8 | 136ms | 1228kb | OK! | 10 |
9 | Depăşit | 1996kb | Time limit exceeded. | 0 |
10 | Depăşit | 2368kb | Time limit exceeded. | 0 |
Punctaj total | 70 |