Pagini recente » Borderou de evaluare (job #2400357) | Borderou de evaluare (job #3269514) | Borderou de evaluare (job #2719292) | Borderou de evaluare (job #420883) | Borderou de evaluare (job #1930194)
Borderou de evaluare (job #1930194)
Raport evaluator
Compilare:
user.cpp:3:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
main(){freopen("stramosi.in","r",stdin);freopen("stramosi.out","w",stdout);
^
user.cpp: In function ‘int main()’:
user.cpp:3:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
main(){freopen("stramosi.in","r",stdin);freopen("stramosi.out","w",stdout);
^
user.cpp:3:75: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
main(){freopen("stramosi.in","r",stdin);freopen("stramosi.out","w",stdout);
^
user.cpp:4:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:5:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=0;i++<n;)scanf("%d",a[0]+i);
^
user.cpp:7:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(;m--;){scanf("%d %d",&j,&i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK! | 10 |
2 | 0ms | 324kb | OK! | 10 |
3 | 4ms | 332kb | OK! | 10 |
4 | 12ms | 852kb | OK! | 10 |
5 | 16ms | 860kb | OK! | 10 |
6 | 68ms | 2192kb | OK! | 10 |
7 | 104ms | 4676kb | OK! | 10 |
8 | 184ms | 6968kb | OK! | 10 |
9 | 564ms | 14388kb | OK! | 10 |
10 | 660ms | 17840kb | OK! | 10 |
Punctaj total | 100 |