Pagini recente » Borderou de evaluare (job #2834574) | Borderou de evaluare (job #72253) | Borderou de evaluare (job #1642184) | Borderou de evaluare (job #2499845) | Borderou de evaluare (job #2378020)
Borderou de evaluare (job #2378020)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:34:10: warning: unused variable 'm' [-Wunused-variable]
int n,m;
^
main.cpp:32: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:33: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:35:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:36: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);
^
main.cpp:44:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 9ms | 131kb | OK | 10 |
2 | 47ms | 262kb | OK | 10 |
3 | 114ms | 393kb | OK | 10 |
4 | 186ms | 655kb | OK | 10 |
5 | 200ms | 786kb | Time limit exceeded | 0 |
6 | 200ms | 917kb | Time limit exceeded | 0 |
7 | 203ms | 1048kb | Time limit exceeded | 0 |
8 | 200ms | 1179kb | Time limit exceeded | 0 |
9 | 200ms | 1310kb | Time limit exceeded | 0 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 50 |