Pagini recente » Borderou de evaluare (job #2072889) | Borderou de evaluare (job #1208413) | Borderou de evaluare (job #2193340) | Borderou de evaluare (job #2120493) | Borderou de evaluare (job #2378047)
Borderou de evaluare (job #2378047)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:36:10: warning: unused variable 'm' [-Wunused-variable]
int n,m;
^
main.cpp:34:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("inv.in","r",stdin);
^
main.cpp:35:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("inv.out","w",stdout);
^
main.cpp:37:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:38:36: 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",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | OK | 10 |
2 | 9ms | 262kb | OK | 10 |
3 | 21ms | 393kb | OK | 10 |
4 | 33ms | 655kb | OK | 10 |
5 | 49ms | 786kb | OK | 10 |
6 | 58ms | 917kb | OK | 10 |
7 | 68ms | 1048kb | OK | 10 |
8 | 75ms | 1179kb | OK | 10 |
9 | 84ms | 1310kb | OK | 10 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 100 |