Pagini recente » Borderou de evaluare (job #2322030) | Borderou de evaluare (job #2474937) | Borderou de evaluare (job #884840) | Borderou de evaluare (job #1298848) | Borderou de evaluare (job #1930186)
Borderou de evaluare (job #1930186)
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 | 288kb | OK! | 10 |
2 | 0ms | 320kb | OK! | 10 |
3 | 4ms | 340kb | OK! | 10 |
4 | 12ms | 856kb | OK! | 10 |
5 | 16ms | 860kb | OK! | 10 |
6 | 64ms | 2192kb | OK! | 10 |
7 | 104ms | 4676kb | OK! | 10 |
8 | 188ms | 6968kb | OK! | 10 |
9 | 580ms | 14388kb | OK! | 10 |
10 | 656ms | 17844kb | OK! | 10 |
Punctaj total | 100 |